Sorry for another question but I am using paging and setting the rowCount to 20 and paging through the data using setRowOffset(getRowOffset() + 20) etc...
But to make the final page work (when there is not 20 items left to go) I have to set the row count to be less than 20 otherwise I get an error. At the moment I am using a global var to remember how much data was put in initially. Is there a better way like a grid.getData().length or something?
Tuesday, January 16, 2007
No, there is nothing in the current version. I am thinking of adding a separate 'page' model for that but it has not been done yet.