Hi,
I have a ListGrid which is bound to a remote datasource.
It has:
datapagesize = 10.
The properties sent to the server (via the fetchData method) are:
startRow = 0
endRow = 10
The properties returned to the grid are:
startRow = 0
endrow = 2
totalRows = 2
The problem is the fetch is fired 2 times instead of just once. I suspect it's because of these settings, however I can't see where/how.
However I am sure my properties are correct and it is still happening. I've checked everything else and can't figure out why the fetch is firing twice. My grid code follows:
Thanks,
Alan
I have a ListGrid which is bound to a remote datasource.
It has:
datapagesize = 10.
The properties sent to the server (via the fetchData method) are:
startRow = 0
endRow = 10
The properties returned to the grid are:
startRow = 0
endrow = 2
totalRows = 2
The problem is the fetch is fired 2 times instead of just once. I suspect it's because of these settings, however I can't see where/how.
However I am sure my properties are correct and it is still happening. I've checked everything else and can't figure out why the fetch is firing twice. My grid code follows:
Code:
setWidth100(); setHeight100(); setMargin(0); setShowRecordComponents(true); setShowRecordComponentsByCell(true); setDataSource(ds); //a typical DataSource setDataPageSize(10); setFields(fields...); fetchData();
Alan
Comment