Data Widgets
Overview
Important Upgrade Notice (Data Widgets v3.0)
The configuration of drop-down filters for associations has changed in this version. The reference entity is no longer set in the column configuration but directly in the drop-down filter itself. As a result, existing filters that rely on associations will stop working until manually updated.
We are actively working on a conversion that will handle this automatically in a future 10.24 patch release.
Additionally for the Gallery widget, the configuration of drop-down sort widgets has changed. Sort attributes are now defined inside the drop-down sort widget itself, rather than in the surrounding Gallery widget. This means that existing sort configurations will also stop working until manually updated.
The Data Widgets module, is a packaged module that contains the following widgets:
- Data grid 2
- Gallery
- Tree node
- Filtering and Sorting widgets.
This module also includes all the styling, design properties and building blocks related to these widgets.
Data grid 2
The successor of the standard data grid widget for displaying content in a tabular form. It comes with many powerful new features and settings like support for widgets, row and cell coloring, responsive layout, accessibility and different paging options, like virtual scrolling.
Gallery
The Gallery widget is the successor to both the standard list view and template grid. It features a new responsive grid design, usage of the same filtering and sort widgets from Data grid 2 and settings like support for conditional styling, paging and empty placeholders.
Tree node
The tree node is a widget used to create a level in a tree UI. Multiple tree node widgets can be combined to create a tree view. The tree node widget is fully composable and comes with settings for animating and icon customization.
Filtering and Sorting widgets
The filtering and sorting can be used across the data widgets of the Data grid 2 and the Gallery. Out of the box there is filtering for text, numbers, dates, and the option to add drop-down filters for single or multiple selections.
Documentation
Please see Data Widgets in the Mendix documentation for details.
Releases
### Fixed
- We fixed an issue where custom content would overflow its container cell.
### [3.8.0] DatagridDateFilter
#### Fixed
- We fixed an issue with background-color styles on hover in date picker.
### [3.8.0] Datagrid
#### Fixed
- We fixed an issue where the footer would take up unnecessary spacing when no content was rendered inside.
- The property panel now shows keep selection property when Datagrid is set to single selection.
#### Changed
- We improved virtual scrolling behavior when horizontal scrolling is present due to grid size.
#### Added
- We added missing Dutch translations for Datagrid 2.
- We added a new property for export to excel. The new property allows to set the cell export type and also the format for type number and date.
- We have introduced the "Page" and "Page Size" attributes to provide complete control over DataGrid pagination.
- We added support for custom pagination controls at the bottom of the DataGrid. Now you can design your own pagination buttons.
- We added the possibility to configure the first row of a DataGrid to be auto-selected on first load, facilitating master-detail views.
### [3.8.0] Gallery
#### Fixed
- We fixed an issue where the footer would take up unnecessary spacing when no content was rendered inside.
- We fixed an issue where the row count wasn't displayed when "Virtual scroll" is on.
#### Added
- We added missing dutch translations for Gallery.
- We added a refresh interval property, to allow defining an interval (in seconds) for refreshing the content in Gallery
### [3.8.0] TreeNode
#### Changed
- We changed `hasChildren` configuration from boolean to expression.
#### Fixed
- We fixed an issue where Tree Nodes showing loading spinner when children can't be found while `hasChildren` property configured to `true`.
### [3.6.1] Datagrid
#### Fixed
- We fixed issue with checkbox state. Now state is in sync with selection.
- We fixed issue with styles not being added to datagrid.
### [3.6.1] Gallery
#### Fixed
- We fixed issue with checkbox state. Now state is in sync with selection.
### [3.6.1] SelectionHelper
#### Fixed
- We fixed issue with checkbox state. Now state is in sync with selection.