Hi Isomorphic,
preparing this testcase I stumbled upon a problem I have in my application as well (although with SelectItems / ComboBoxItems pickList) and not with normal ListGrid use.
How do I here (this modified sample, v12.0p_2020-04-16) enforce that on every click on fetchData() a fetch is issued in the Developer Console's RPC Tab?
I think I enabled this already with useClientFiltering: false and reapplyUnchangedLocalFilter: true.
Same for the SelectItems / ComboBoxItems pickList: How would I enforce a fetch here everytime a new SelectItem is generated (or better: the pickList is shown)?
I assume this must somehow be related to ResultSet properties, but I did not find a matching method there.
Thank you & Best regards
Blama
preparing this testcase I stumbled upon a problem I have in my application as well (although with SelectItems / ComboBoxItems pickList) and not with normal ListGrid use.
How do I here (this modified sample, v12.0p_2020-04-16) enforce that on every click on fetchData() a fetch is issued in the Developer Console's RPC Tab?
I think I enabled this already with useClientFiltering: false and reapplyUnchangedLocalFilter: true.
Same for the SelectItems / ComboBoxItems pickList: How would I enforce a fetch here everytime a new SelectItem is generated (or better: the pickList is shown)?
I assume this must somehow be related to ResultSet properties, but I did not find a matching method there.
Thank you & Best regards
Blama
Code:
isc.ListGrid.create({
ID: "supplyItemList",
width:"80%", height:"100%", alternateRecordStyles:true,
dataFetchMode: "basic",
dataSource: supplyItem,
autoFetchData: true,
showFilterEditor: true,
dataProperties: { useClientFiltering: false, reapplyUnchangedLocalFilter: true },
implicitCriteria: {
_constructor:"AdvancedCriteria",
operator:"and",
criteria:[ { fieldName:"itemID", operator:"lessThan", value: 4000 } ]}
});
isc.Button.create({
ID: "fetchDataButton",
title: "fetchData()",
click: function () { supplyItemList.fetchData(null, null,
{ showPrompt: true,
promptDelay: 0,
promptStyle: "dialog",
prompt: "Fetching data, please wait"}
);}
});
isc.VLayout.create({
members: [supplyItemList, fetchDataButton],
membersMargin: 10,
width:"80%",
height:"100%"
});
Comment