Hello,
I have a custom data source where I am using the DSProtocol.CLIENTCUSTOM and DSDataFormat.CUSTOM. This custom datasource appears to be malfunctioning (or something is) with paginated data.
My custom data source extends DataSource and overloads transformRequest() to examines the pagination data getStartRow() and getLength() to determine how many rows to retrieve. This data source is bound to a ListGrid.
After retrieving the data rows, I instantiate a DSReponse object, set it's setData(), setStartRow(), setEndRow(), setTotalRows(), and setStatus() properties and pass that object to the processResponse() method.
All seems to work great, the ListGrid has the total number of rows displayed correctly and contains actual data for StartRow/EndRow.
The problem occurs when I scroll past the retrieved result set, the next page of data is never requested. I can't figure out why, any help would be appreciated.
Thanks
-Sean
I have a custom data source where I am using the DSProtocol.CLIENTCUSTOM and DSDataFormat.CUSTOM. This custom datasource appears to be malfunctioning (or something is) with paginated data.
My custom data source extends DataSource and overloads transformRequest() to examines the pagination data getStartRow() and getLength() to determine how many rows to retrieve. This data source is bound to a ListGrid.
After retrieving the data rows, I instantiate a DSReponse object, set it's setData(), setStartRow(), setEndRow(), setTotalRows(), and setStatus() properties and pass that object to the processResponse() method.
All seems to work great, the ListGrid has the total number of rows displayed correctly and contains actual data for StartRow/EndRow.
The problem occurs when I scroll past the retrieved result set, the next page of data is never requested. I can't figure out why, any help would be appreciated.
Thanks
-Sean
Comment