SmartClient Version: v13.1p_2024-11-20/AllModules Development Only (built 2024-11-20)
Chrome on MacOS
Hello, please try the following test case using the fetchOperationFS sample:
Steps to reproduce:
- Select a record in the grid. You’ll see that the button becomes enabled, as expected.
- Filter the grid so that the selected record is no longer visible.
The button remains enabled even though no records are selected in the grid anymore. It seems that the rule context attributes related to grid selection are not updated after filtering.
Chrome on MacOS
Hello, please try the following test case using the fetchOperationFS sample:
Code:
isc.ListGrid.create({ ID:"dsListGrid", top: 40, width: "100%", height: "100%", autoFetchData: true, dataSource: "supplyItem" }); isc.IButton.create({ ID: "foo", title: "test", enableWhen: { fieldName: "dsListGrid.anySelected", operator: "equals", value: true } })
- Select a record in the grid. You’ll see that the button becomes enabled, as expected.
- Filter the grid so that the selected record is no longer visible.
The button remains enabled even though no records are selected in the grid anymore. It seems that the rule context attributes related to grid selection are not updated after filtering.
Comment