Directory

← Back

Vaadin TreeGrid

Component that adds tree-like functionality to Grid for displaying hierarchical data

Author

Rating

Popularity

<100

TreeGrid is a UI component add-on for Vaadin 7. It adds the ability to display and edit hierarchical data source in the Grid component (similar to TreeTable's extension to Table).

Features:

  • Basic functionality for displaying hierarchical data in Grid
  • CSS configurable hierarchy indicators
  • Expand/collapse functionality on mouse click
  • Programmatically settable hierarchy column
  • Keyboard navigation (Alt/Option + Arrow keys)
  • Support for custom renderer on hierarchy column
  • Support for custom depth calculation logic
  • Support for custom collapse logic

Notes:

  • This add-on relies on changes in Vaadin Framework 7.7.6
  • This add-on is compiled with Java 7

Sample code

final TreeGrid grid = new TreeGrid();

// Container implementing Hierarchical and Indexed interfaces
DemoContainer container = new DemoContainer();
grid.setContainerDataSource(container);

// Set the column that shows the hierarchy information
grid.setHierarchyColumn(DemoContainer.PROPERTY_LAST_NAME);

grid.setColumnReorderingAllowed(true);

Compatibility

(Loading compatibility data...)

Was this helpful? Need more help?
Leave a comment or a question below. You can also join the chat on Discord or ask questions on StackOverflow.

Version

Version 0.7.9

  • Introduce separate JSON key for hierarchy data in order to avoid conflcit with tooltip data
Released
2023-07-13
Maturity
BETA
License
Apache License 2.0

Compatibility

Framework
Vaadin 7.7+
Browser
N/A

Vaadin TreeGrid - Vaadin Add-on Directory

Component that adds tree-like functionality to Grid for displaying hierarchical data Vaadin TreeGrid - Vaadin Add-on Directory
TreeGrid is a UI component add-on for Vaadin 7. It adds the ability to display and edit hierarchical data source in the Grid component (similar to TreeTable's extension to Table). ## Features: - Basic functionality for displaying hierarchical data in Grid - CSS configurable hierarchy indicators - Expand/collapse functionality on mouse click - Programmatically settable hierarchy column - Keyboard navigation (Alt/Option + Arrow keys) - Support for custom renderer on hierarchy column - Support for custom depth calculation logic - Support for custom collapse logic ## Notes: - **This add-on relies on changes in Vaadin Framework 7.7.6** - This add-on is compiled with Java 7
Online