Hi,
I have a TreeGrid with a RPC datasource. Please find its details below.
The problem is that I cannot get it to call transformRequest on the datasource when scrolling to the bottom.
I think I have done all the right configurations, but the pagination simply does not work.
Can someone help me with this issue?
Thank you in advance ;)
1. Using SmargGwt 2.4 (LGPL) and Firefox 4
3. Development console:
17:18:12.998:TMR3:DEBUG:scrolling:isc_TreeGrid_0_body:scrollTo(null, 757)
17:18:13.050:TMR1:DEBUG:scrolling:isc_TreeGrid_0_body:scrollTo(null, 766)
17:18:13.109:TMR8:DEBUG:scrolling:isc_TreeGrid_0_body:scrollTo(null, 771)
17:18:13.128:TMR1:DEBUG:scrolling:isc_TreeGrid_0_body:scrollTo(null, 775)
17:18:13.825:RDQ0:INFO:scrolling:isc_TreeGrid_0_body:Drawn size: 905 by 1100, specified: 921 by 275, scrollbar state: v
17:18:14.764:TMR1:DEBUG:scrolling:isc_TreeGrid_0_body:scrollTo(null, 780)
17:18:14.790:TMR5:DEBUG:scrolling:isc_TreeGrid_0_body:scrollTo(null, 784)
17:18:14.826:TMR9:DEBUG:scrolling:isc_TreeGrid_0_body:scrollTo(null, 789)
17:18:14.896:TMR3:DEBUG:scrolling:isc_TreeGrid_0_body:scrollTo(null, 793)
17:18:14.952:TMR9:DEBUG:scrolling:isc_TreeGrid_0_body:scrollTo(null, 807)
17:18:15.001:TMR4:DEBUG:scrolling:isc_TreeGrid_0_body:scrollTo(null, 811)
17:18:15.051:TMR9:DEBUG:scrolling:isc_TreeGrid_0_body:scrollTo(null, 820)
17:18:15.098:TMR5:DEBUG:scrolling:isc_TreeGrid_0_body:scrollTo(null, 825)
17:18:15.161:TMR8:DEBUG:scrolling:isc_TreeGrid_0_body:scrollTo(null, 825)
17:18:15.177:TMR1:DEBUG:scrolling:isc_TreeGrid_0_body:scrollTo(null, 825)
17:18:15.861:RDQ6:INFO:scrolling:isc_TreeGrid_0_body:Drawn size: 905 by 1100, specified: 921 by 275, scrollbar state: v
4. No javascript error
5. TreeGrid newTree = new TreeGrid();
newTree.setDataFetchMode(FetchMode.PAGED);
newTree.setAutoFitData(Autofit.VERTICAL);
newTree.setShowAllRecords(false);
newTree.setDataPageSize(50);
newTree.setCanEdit(false);
newTree.setAutoFetchData(Boolean.TRUE);
newTree.setLoadDataOnDemand(Boolean.FALSE);
dataSource = new MyRpcDataSource();
newTree.setDataSource(dataSource);
newTree.setAutoFitData(Autofit.BOTH);
newTree.setAutoFitMaxWidth(1500);
newTree.setAutoFitMaxHeight(300);
newTree.setFields(field1, field2, field3);
I have a TreeGrid with a RPC datasource. Please find its details below.
The problem is that I cannot get it to call transformRequest on the datasource when scrolling to the bottom.
I think I have done all the right configurations, but the pagination simply does not work.
Can someone help me with this issue?
Thank you in advance ;)
1. Using SmargGwt 2.4 (LGPL) and Firefox 4
3. Development console:
17:18:12.998:TMR3:DEBUG:scrolling:isc_TreeGrid_0_body:scrollTo(null, 757)
17:18:13.050:TMR1:DEBUG:scrolling:isc_TreeGrid_0_body:scrollTo(null, 766)
17:18:13.109:TMR8:DEBUG:scrolling:isc_TreeGrid_0_body:scrollTo(null, 771)
17:18:13.128:TMR1:DEBUG:scrolling:isc_TreeGrid_0_body:scrollTo(null, 775)
17:18:13.825:RDQ0:INFO:scrolling:isc_TreeGrid_0_body:Drawn size: 905 by 1100, specified: 921 by 275, scrollbar state: v
17:18:14.764:TMR1:DEBUG:scrolling:isc_TreeGrid_0_body:scrollTo(null, 780)
17:18:14.790:TMR5:DEBUG:scrolling:isc_TreeGrid_0_body:scrollTo(null, 784)
17:18:14.826:TMR9:DEBUG:scrolling:isc_TreeGrid_0_body:scrollTo(null, 789)
17:18:14.896:TMR3:DEBUG:scrolling:isc_TreeGrid_0_body:scrollTo(null, 793)
17:18:14.952:TMR9:DEBUG:scrolling:isc_TreeGrid_0_body:scrollTo(null, 807)
17:18:15.001:TMR4:DEBUG:scrolling:isc_TreeGrid_0_body:scrollTo(null, 811)
17:18:15.051:TMR9:DEBUG:scrolling:isc_TreeGrid_0_body:scrollTo(null, 820)
17:18:15.098:TMR5:DEBUG:scrolling:isc_TreeGrid_0_body:scrollTo(null, 825)
17:18:15.161:TMR8:DEBUG:scrolling:isc_TreeGrid_0_body:scrollTo(null, 825)
17:18:15.177:TMR1:DEBUG:scrolling:isc_TreeGrid_0_body:scrollTo(null, 825)
17:18:15.861:RDQ6:INFO:scrolling:isc_TreeGrid_0_body:Drawn size: 905 by 1100, specified: 921 by 275, scrollbar state: v
4. No javascript error
5. TreeGrid newTree = new TreeGrid();
newTree.setDataFetchMode(FetchMode.PAGED);
newTree.setAutoFitData(Autofit.VERTICAL);
newTree.setShowAllRecords(false);
newTree.setDataPageSize(50);
newTree.setCanEdit(false);
newTree.setAutoFetchData(Boolean.TRUE);
newTree.setLoadDataOnDemand(Boolean.FALSE);
dataSource = new MyRpcDataSource();
newTree.setDataSource(dataSource);
newTree.setAutoFitData(Autofit.BOTH);
newTree.setAutoFitMaxWidth(1500);
newTree.setAutoFitMaxHeight(300);
newTree.setFields(field1, field2, field3);
Comment