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
### [3.9.0] DatagridDropdownFilter
#### Fixed
- We fixed an issue with Dropdown filter captions not updating properly when their template parameters change.
### [3.9.0] DatagridNumberFilter
#### Fixed
- We fixed an issue where widgets with the Saved attribute configured would crash in some cases.
### [3.9.0] Datagrid
#### Changed
- We improved accessibility on column selector, added aria-attributes and changed the role to 'menuitemcheckbox'.
#### Added
- We added accessibility support for column headers when single selection is enabled, making sure the purpose of the column is announced.
- We added a new `Loaded rows` attribute that reflects the number of rows currently loaded for virtual scrolling and load-more pagination modes.
- We exposed the `Page`, `Page size`, and `Total count` attributes for virtual scrolling and load-more pagination modes so they are kept in sync at all times.
#### Fixed
- We fixed an issue with Data export crashing on some Android devices.
- We fixed an issue where the `Page` attribute was not updated when navigating pages using the default (buttons) paging controls.
- We fixed an issue where configuring the `Total count` attribute had no effect for virtual scrolling and load-more pagination modes.
### [3.9.0] Gallery
#### Fixed
- We fixed the pagination properties `Page attribute`, `Page size attribute`, and `Total count` not being shown in Studio Pro for Virtual Scrolling and Load More pagination modes.
#### Changed
- We changed the structure of the gallery settings to align them with the data grid.
#### Added
- We added the `Loaded rows` attribute to reflect the number of rows currently loaded. Available for Virtual Scrolling and Load More pagination modes.
- We added new attributes and a drop zone for custom pagination.
- We added support for the auto-select feature in multi-selection and single-selection mode.