-
1. Re: datascroller maxPages attribute doesn't work?
dragospd Jul 21, 2008 6:30 AM (in response to dragospd)I forgot to mention that the dataTable and datascroller are included in a page from a tabPanel control with ajax switchType
-
2. Re: datascroller maxPages attribute doesn't work?
ilya_shaikovsky Jul 21, 2008 7:02 AM (in response to dragospd)I've checked under latest version - works ok. Could you please update your RF libs at least to latest release?
-
3. Re: datascroller maxPages attribute doesn't work?
dragospd Jul 21, 2008 7:19 AM (in response to dragospd)now I found the cause of this issue. Is not the library fault. Due to the fact that the datascroller is not updated automatically when the datatable model is updated I wrote a small hack that alters the maxPages scroller attribute. unfortunately I realized now that it have unpleasant side effects...
the scenario is like this:
one table have 11 rows, the datascroller displays 10 rows per page so I have two pages. I am in page #2. The user delete one row and refresh the page. Logically there is no more page #2 and I should display page #1 without any pagination control for page #2. Is there a simple way to do this?
thanks