|
#1
|
|||
|
|||
|
Hello,
i've read the following threads about server-side pagination with a paging bar: http://forums.smartclient.com/showthread.php?t=7740&highlight=server-side+pagination http://forums.smartclient.com/showthread.php?t=3103&highlight=server-side+pagination I want to disable the "paging by scrolling" and enable the "paging by clicking a button" (pagination bar). Whats the approach here? Extending the JPADataSource and modify the DSRequest with sending the current page, modifiing the resultset to only receive the data for the current visible page? And of course adding a simple paging bar with simple buttons for each page... |
|
#2
|
|||
|
|||
|
There's no need for any server-side changes to use this approach.
|
|
#3
|
|||
|
|||
|
Thank you for the fast reply.
But what is the correct approach if I do not need to create a custom datasource? What i have read is, that such paging is not possible, because the listgrid is a live grid which automatically calls "fetch" if the user scrolls up or down. |
|
#4
|
|||
|
|||
|
We are using SmartGWT Pro, but i can't find any easy solution for this - please help.
Last edited by deejay; 22nd Jun 2011 at 10:32.. |
![]() |
| Thread Tools | Search this Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Register a client side sort callback function for ListGrid server sort | svonmiller | Technical Q&A | 2 | 1st Apr 2011 06:16 |
| ListGrid sorting executed only from server side | scossu | Technical Q&A | 0 | 14th Jul 2010 06:19 |
| ListGrid sending request that causes Exception on server side | csillag | Smart GWT Technical Q&A | 0 | 25th Apr 2010 23:52 |
| Is it possible to have server side grouping for ListGrid | akishovar | Technical Q&A | 4 | 12th Apr 2010 14:41 |
| Server side sorting on listgrid | pallavi28 | Technical Q&A | 1 | 1st Apr 2010 03:16 |