PrimeFaces 5.1.3 brings handy new features such as DataGrid for PrimeFaces Mobile, keyboard navigation support for tree component, p:columns support inside p:columnGroup, core improvements to p:columnToggler and ability to use overlayPanel as standalone just like dialog.
Mobile DataTable has been added in 5.1.2 and our next target was a mobile renderer for DataGrid. Mobile DataGrid is responsive by nature and usage is same as the standard one. See the live demo to checkout the DataGrid in action.
Sortable and Filterable for Columns
Column and Columns components get two new attributes; sortable and filterable. These attributes are mainly added for dynamic columns where a dynamic column can be configured as sortable or filterable on demand. In the past, all dynamic columns are sortable and filterable since we were only checking the presence sortBy and filterBy expressions limiting the flexibility. Of course the change is backward compatible, these attributes are consulted only if sortBy and filterBy expressions are present.
Accessibility for Tree
Accessibility is constantly improved in PrimeFaces, 5.1.3 provides keyboard navigation support for tree component where nodes can be navigated through arrow keys and selection can be made with enter or space. Accordion and TabView will get keyboard navigation support very soon as well.
Columns can now be defined as invisible by using the new visible attribute, this also enables a Stateful ColumnToggler easily.
New Features and Enhancements
- DataGrid for PrimeFaces Mobile
- Ability to hide columns initially for Column Toggler
- DynamicColumns support inside DataTable ColumnGroup
- Add sortable and filterable attributes to column and columns
- Keyboard Navigation for Tree
- Row Expansion and Draggable Columns Compatibility
- Standalone OverlayPanel
- Improve PanelMenu CSS structure
- CommandButton overrides ARIA role
- ChartModel should be serializable
- PickList source/target buttons doesn’t work
Binaries, Sources, API docs and VDL docs are available in PrimeFaces Elite Portal for ELITE and PRO users as an official release bundle.