Hi Isomorphic,
please see this modified sample (v12.1p_2023-01-24).
By default, the filterRow-SelectItem seems to load all data. I'm not sure this has been always the case, but I find it a bit weird.
Also, setting dataFetchMode: "paged" does not seem to be able to affect this.
In the response I always get startRow:0, endRow:3959, meaning all records have been loaded.
Is the default behavior and the behavior with dataFetchMode: "paged" here really correct?
Thank you & Best regards
Blama
please see this modified sample (v12.1p_2023-01-24).
By default, the filterRow-SelectItem seems to load all data. I'm not sure this has been always the case, but I find it a bit weird.
Also, setting dataFetchMode: "paged" does not seem to be able to affect this.
In the response I always get startRow:0, endRow:3959, meaning all records have been loaded.
Is the default behavior and the behavior with dataFetchMode: "paged" here really correct?
Thank you & Best regards
Blama
Code:
isc.ListGrid.create({ ID: "dsListGrid", width: "100%", height: "100%", autoFetchData: true, dataSource: "supplyItem", showFilterEditor: true, fields: [ { name: "itemID", width: 60 }, { name: "itemName", filterEditorType: "SelectItem", filterEditorProperties: { pickListHeight: 1000, pickListCriteria: { _constructor: "AdvancedCriteria", operator: "and", criteria: [{ fieldName: "itemID", operator: "lessThan", value: 10000 }] }, optionDataSource: "supplyItem", // multiple: true, defaultValue: null, dataFetchMode: "paged" } }, { name: "SKU" }, { name: "category" }, { name: "units" } ] });
Comment