Hello,
I'm trying to programatically select rows with setSelection, but i'm having a problem. The code is below:
I have a cookie that contains the ID's of all selected rows, so i loop to each visible row to match the id with the cookie to see if its selected, if its true it will call setSelection function to select the row.
This works fine when changing page and searching, but if i change the number of rows per page in the nav bar, it doesnt select any rows, i then click refresh and it selects them properly. I noticed that if i include the same code with onPaging event and use both events at the same time it solves this problem, but it sucks performance wise because it does alot of loops.
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top