cancel
Showing results for 
Search instead for 
Did you mean: 

tableview disappears on row-selection

Former Member
0 Kudos

hi all,

the data in my tableview is huge and if i try to select any row, the tableview completely disappears for a long time and when it appears, the row remains unselected. Same thing happens for any other event on tableview like scrolling through it .

In layout, the debugger hangs on for a long time at "visibleRowCount".

someone plz suggest what should be checked in such cases.

thanks

View Entire Topic
guillaume-hrc
Active Contributor
0 Kudos

Hi,

What value did you put in front of visibleRowCount (50 is usually OK) ?

Did you set the selectionMode property ?

best regards,

Guillaume

Former Member
0 Kudos

hi,

currently i have put 5 for visibleRowCount .

yes, i also selected selectionMode property .

for some inputs that i gave, around 115 records were retrived. It hangs still.

Edited by: shalaxy s on Apr 25, 2008 10:45 PM

guillaume-hrc
Active Contributor
0 Kudos

Hi,

Do you use an iterator (a very complex one if it is so slow) ?

Best regards,

Guillaume

guillaume-hrc
Active Contributor
0 Kudos

Hi,

Try switching to code view instead of layout view in the debugger.

The code view is more precise and you may see the particular point where it "hangs".

Best regards,

Guillaume

Former Member
0 Kudos

Hi,

Yeah, i have used an iterator for setting field order (there are around 46 fields).

Can this be the reason? But i am creating the iterator object in "oninitialization" event and i make sure that this code(iterator object creation) does not run on "row selection" .

I tried to debug the code in events, there it even shows which particular row was selected (in selectedrowindex). After debugger finishes, the tableview disappears.

Do i need to do something in iterator?

Thanks,

Shalaxy