Using smartgwt 2.5. Opened in firefox 7.0
Hi i tried to use the paging capability on list grid.
I tried with setting the page size as very small
articleListRender.setDataPageSize(3);
However i found the list grid still loads all records instead of just loading 3.
This is the way we call fetch data.
articleListRender.fetchData(c, new DSCallback() {
@Override
public void execute(DSResponse response, Object rawData, DSRequest request) {
System.out.println("after fetch, start:" + response.getStartRow() + ", end:" + response.getEndRow() + ", total:" + response.getTotalRows());
}
});
The print out shows the response contains 4 hundreds records.
Is there anything we could miss?
Thanks
Hi i tried to use the paging capability on list grid.
I tried with setting the page size as very small
articleListRender.setDataPageSize(3);
However i found the list grid still loads all records instead of just loading 3.
This is the way we call fetch data.
articleListRender.fetchData(c, new DSCallback() {
@Override
public void execute(DSResponse response, Object rawData, DSRequest request) {
System.out.println("after fetch, start:" + response.getStartRow() + ", end:" + response.getEndRow() + ", total:" + response.getTotalRows());
}
});
The print out shows the response contains 4 hundreds records.
Is there anything we could miss?
Thanks
Comment