Hi Isomorphic,
please see this modified sample in any (10.1p/11.1p/12.0d) of the SmartClient Online Showcases (all mid December 2017).
After running, filter the top ListGrid for unitCost: 0.41 as well.
As you can see, the ListGrid is not grouped by.
I understand that it was not grouped by at start because there where too many records. But after filtering, when totalRows is below groupByMaxRecords, I'd expect the grid to be filtered, because that's what I configured.
In my application, the user can't group the ListGrid (canGroupBy: false), so a manual regroup by the user is not possible.
Best regards
Blama
please see this modified sample in any (10.1p/11.1p/12.0d) of the SmartClient Online Showcases (all mid December 2017).
Code:
isc.ListGrid.create({ ID:"dsListGrid", width: "100%", height: 300, minFieldWidth:80, autoFetchData: true, dataSource: "supplyItem", groupByField: 'units', showFilterEditor: true }); isc.ListGrid.create({ ID:"dsListGrid2", width: "100%", height: 300, top: 310, minFieldWidth:80, autoFetchData: true, dataSource: "supplyItem", groupByField: 'units', showFilterEditor: true, initialCriteria: { _constructor: "AdvancedCriteria", operator: "and", criteria: [ { fieldName: "unitCost", operator: "equals", value: 0.41 } ] } });
As you can see, the ListGrid is not grouped by.
I understand that it was not grouped by at start because there where too many records. But after filtering, when totalRows is below groupByMaxRecords, I'd expect the grid to be filtered, because that's what I configured.
In my application, the user can't group the ListGrid (canGroupBy: false), so a manual regroup by the user is not possible.
Best regards
Blama
Comment