GroupDataGrid (jmix-groupgrid-flowui): “select all” checkbox in header is present but hidden, and re-hides itself when forced visible
Hello,
We are using GroupDataGrid from the jmix-groupgrid-flowui add-on with selectionMode="MULTI", and we noticed a difference in behavior compared to the standard DataGrid component.
Expected behavior
With a standard DataGrid configured with selectionMode="MULTI", a “select all / deselect all” checkbox is automatically displayed in the column header, allowing the user to select or deselect all visible rows at once.
Actual behavior
With GroupDataGrid configured the same way (selectionMode="MULTI"), this checkbox does not appear visually. When inspecting the page with browser dev tools (F12), we can confirm that the checkbox element is present in the DOM, but it has a hidden state/attribute applied to it.
If we manually force this element to be visible through the dev tools:
- it becomes clickable,
- but clicking on it has no effect (no selection/deselection is triggered),
- it automatically reverts back to its hidden state.
This suggests that some client-side logic actively re-applies this hidden state, rather than it being a simple CSS oversight.
Configuration example
<groupg:groupDataGrid id="dataGrid"
width="100%"
dataContainer="dc"
selectionMode="MULTI"
columnReorderingAllowed="true">
<groupg:columns>
<groupg:groupColumn key="group" header="Group"/>
<groupg:column property="someProperty" resizable="true" autoWidth="true"/>
<!-- ... other columns ... -->
</groupg:columns>
</groupg:groupDataGrid>
Environment
jmix-groupgrid-flowui: 3.0.2- Jmix: 3.0.2
- Vaadin (flow-server): 25.1.14
Questions
- Is this a known and intentional limitation of
GroupDataGrid, related to some ambiguity in the “select all” semantics when grouping is enabled (e.g., should it select only visible/expanded rows, group rows, or all underlying items regardless of group state)? - If so, is there a supported way to enable this “select all” checkbox for
GroupDataGrid, or is the recommended approach to implement a custom “select all” button usingdataGrid.select(items)/dataGrid.deselectAll()instead? - If this is not intentional, could this be considered a bug to be fixed in a future release of the add-on?
Thank you in advance for your help.