Introduction
Currently, the Select All functionality in Data Grid 2 allows selection only for objects on the current page rather than all objects listed in the grid. This behavior can be observed in the following scenarios:
- When navigating to the next page and returning, the previous selection is not retained
- After applying a filter, the selection list disappears
It has been determined that a feature request to select all objects in the grid provides value, and the responsible R&D team is working on expanding its functionality to allow the selection of all objects.
Environment
Data Widgets 2.7.0 and newer
Details
The selection functionality allows users to interact with rows by either clicking on the row or selecting a checkbox. By default, this feature is disabled, but it can be activated by modifying the Selection setting in the properties of Data Grid 2 to either Single or Multi instead of the default None.
In Multi mode, multiple rows can be selected and the Show (Un)check All Toggle option becomes available to select or deselect all rows at once.
If Show (Un)check All Toggle is enabled, the data grid widget displays a checkbox in the header. This checkbox manages the selection of all visible items.
Since the Data Grid 2 widget stores selected items in short-lived memory, which is cleared each time the Data Grid 2 page changes, selecting items across multiple pages is not supported. This means that only the objects currently visible on the page can be selected.
Internal information related
- 193447, 194824, 236801, 237013, 235915
- CJZ85RLTA/p1691767507238199, CJZ85RLTA/p1735285707480389
Additional information
- Mendix documentation: Data Grid 2 In-Memory Selection
- Forum Post: 3974
0 Comments