Hi,
I cannot set up proper config values for progressive loading.
Now I got back to defaults.
Server is returning totalRows = endRow + 20.
I've found that this should be default but tried other values with no luck.
Grid is displaying no more than 20.
So in first request server provides 75 records and total rows = 95.
Immediately after that client calls for another part and another...
What are the correct options to prevent this calls to happen.
Tried setting up drawAhead and other options with no luck.
I'm using SmartGWT 5.0p 2015-01-20 with GWT 2.7.0
Tested in Super Dev Mode and after full compilation on Chrome and Firefox with same results.
Best regards
Mariusz Goch
I cannot set up proper config values for progressive loading.
Now I got back to defaults.
Server is returning totalRows = endRow + 20.
I've found that this should be default but tried other values with no luck.
Grid is displaying no more than 20.
So in first request server provides 75 records and total rows = 95.
Immediately after that client calls for another part and another...
What are the correct options to prevent this calls to happen.
Tried setting up drawAhead and other options with no luck.
Code:
18:08:56.799:INFO:ResultSet:isc_ResultSet_1 (dataSource: dsActivity, created by: isc_ListGrid_4):setCriteria: filter criteria changed, invalidating cache 18:08:56.800:INFO:ResultSet:isc_ResultSet_1 (dataSource: dsActivity, created by: isc_ListGrid_4):Invalidating cache 18:08:56.805:INFO:ResultSet:isc_ResultSet_1 (dataSource: dsActivity, created by: isc_ListGrid_4):getRange(0, 39) will fetch from 0 to 75 18:08:56.806:INFO:ResultSet:isc_ResultSet_1 (dataSource: dsActivity, created by: isc_ListGrid_4):fetching rows 0,75 from server 18:08:57.208:XRP7:INFO:ResultSet:isc_ResultSet_1 (dataSource: dsActivity, created by: isc_ListGrid_4):Received 75 records from server 18:08:57.209:XRP7:INFO:ResultSet:isc_ResultSet_1 (dataSource: dsActivity, created by: isc_ListGrid_4):cached 75 rows, from 0 to 75 (95 total rows, 75 cached) 18:08:57.271:TMR1:INFO:ResultSet:isc_ResultSet_1 (dataSource: dsActivity, created by: isc_ListGrid_4):getRange(0, 95) will fetch from 75 to 150 18:08:57.575:TMR6:INFO:ResultSet:isc_ResultSet_1 (dataSource: dsActivity, created by: isc_ListGrid_4):fetching rows 75,150 from server 18:08:57.699:XRP9:INFO:ResultSet:isc_ResultSet_1 (dataSource: dsActivity, created by: isc_ListGrid_4):Received 75 records from server 18:08:57.700:XRP9:INFO:ResultSet:isc_ResultSet_1 (dataSource: dsActivity, created by: isc_ListGrid_4):cached 75 rows, from 75 to 150 (170 total rows, 150 cached) 18:08:57.706:TMR0:INFO:ResultSet:isc_ResultSet_1 (dataSource: dsActivity, created by: isc_ListGrid_4):getRange(0, 170) will fetch from 150 to 225 18:08:58.014:TMR1:INFO:ResultSet:isc_ResultSet_1 (dataSource: dsActivity, created by: isc_ListGrid_4):fetching rows 150,225 from server 18:08:58.160:XRP0:INFO:ResultSet:isc_ResultSet_1 (dataSource: dsActivity, created by: isc_ListGrid_4):Received 75 records from server 18:08:58.161:XRP0:INFO:ResultSet:isc_ResultSet_1 (dataSource: dsActivity, created by: isc_ListGrid_4):cached 75 rows, from 150 to 225 (245 total rows, 225 cached) 18:08:58.184:TMR4:INFO:ResultSet:isc_ResultSet_1 (dataSource: dsActivity, created by: isc_ListGrid_4):getRange(0, 245) will fetch from 225 to 300 18:08:58.557:TMR3:INFO:ResultSet:isc_ResultSet_1 (dataSource: dsActivity, created by: isc_ListGrid_4):fetching rows 225,300 from server 18:08:58.699:XRP1:INFO:ResultSet:isc_ResultSet_1 (dataSource: dsActivity, created by: isc_ListGrid_4):Received 75 records from server 18:08:58.700:XRP1:INFO:ResultSet:isc_ResultSet_1 (dataSource: dsActivity, created by: isc_ListGrid_4):cached 75 rows, from 225 to 300 (320 total rows, 300 cached)
Tested in Super Dev Mode and after full compilation on Chrome and Firefox with same results.
Best regards
Mariusz Goch
Comment