Hi Isomorphic,
please see this modified sample (v11.1p_2018-01-29). As you can see, the Hilites disappear on click of "Invalidate Cache" and are not re-applied when the data arrives.
If you click "Invalidate Cache" the Hilites are visible a short time until the data for the 2nd "Invalidate Cache" arrives, then they are invisible again.
I'd expect to the Hilites to be present all the time.
Also, a bit minor, after click on "Invalidate Cache" the ListGrid moves visibly, as the groupingRow changes its height.
This only happens if the ListGrid is grouped. Ungrouped ListGrids work as expected. The same issue is happening in my Application.
Best regards
Blama
please see this modified sample (v11.1p_2018-01-29). As you can see, the Hilites disappear on click of "Invalidate Cache" and are not re-applied when the data arrives.
If you click "Invalidate Cache" the Hilites are visible a short time until the data for the 2nd "Invalidate Cache" arrives, then they are invisible again.
I'd expect to the Hilites to be present all the time.
Also, a bit minor, after click on "Invalidate Cache" the ListGrid moves visibly, as the groupingRow changes its height.
This only happens if the ListGrid is grouped. Ungrouped ListGrids work as expected. The same issue is happening in my Application.
Code:
isc.ListGrid.create({ ID:"dsListGrid", autoFetchData: true, dataSource: "supplyItem", groupByField: "category", sortByGroupFirst: true, sortField: "itemName", groupByMaxRecords: 4000, hilites: [ { cssText: "color:#FF0000;", criteria: { fieldName: "unitCost", operator: "lessThan", value: 5 } }] }); isc.IButton.create({ ID: "Button", title:"Invalidate Cache", click:"dsListGrid.invalidateCache()" }); isc.VLayout.create({ width: "100%", height: "50%", membersMargin: 15, members: [ dsListGrid, Button] });
Blama
Comment