08-26-2015, 04:04 AM
My need is very simple. I have a large webtable that contains the results of a search. I need to verify the contents of a particular column in each row. The table may contain anywhere from 1 to n results. I search on an indicator displayed in my webpage to tell me how many results I have then I run through a For loop from 1 to NumResults and get the cell data from the appropriate cell.
My problem is this. My results table my contain 200 results but when I call webtable(x).rowcount it will give me a count of 31 (approximately the size of what can be displayed on the page without scrolling). So when I loop from 1 to 200 everyting after 31 is undefined and it will bounce around giving me results from other rows. I've tried .refreshObject on the webtable to no avail (unless i'm using it wrong).
I've tried verifying a row then clicking the scroll down arrow before clicking on the next row object. No luck.
I've tried verfitying a row then clicking the down arrow to emulate keyboard usage but no luck here either.
My developers say the entire results table is loaded at the beginning so I shouldn't need to scroll to load the table.
My application is a SmartGWT application.
Please help!
My problem is this. My results table my contain 200 results but when I call webtable(x).rowcount it will give me a count of 31 (approximately the size of what can be displayed on the page without scrolling). So when I loop from 1 to 200 everyting after 31 is undefined and it will bounce around giving me results from other rows. I've tried .refreshObject on the webtable to no avail (unless i'm using it wrong).
I've tried verifying a row then clicking the scroll down arrow before clicking on the next row object. No luck.
I've tried verfitying a row then clicking the down arrow to emulate keyboard usage but no luck here either.
My developers say the entire results table is loaded at the beginning so I shouldn't need to scroll to load the table.
My application is a SmartGWT application.
Please help!