In our application we use blazeds to connect to a spring server.
The server calls are done by swiz.
I would like to build a paged datagrid to handle a large data set.
But i dont want to use the flashbuilder build in data service tab to set up the paging.
Is their some kind of event the datagrid fires when you scroll, which is used to do the paging?
Or do i have to set something in my AsyncToken?
Can anyone help me or point me in the right direction in how a datagrid pages its data.
You can look at the generated code by using Data/Services panel when paging is enabled through Data/Services tab.
you can have listener registered on the data grid that gets triggered when rowCount property changes. You need to extend the datagrid and override setRowCount to dispatch the event when rowCount changes.
For details on paging you can refer http://corlan.org/2008/08/19/paging-a-data-grid-on-the-client/
hope this helps!
I did created a sample project where i used the data/service genereated paging.
But i could not figure out how the code handle the actual paging.
I will hava a look at the example you send me.