GridTree
A Grid extension that allows to visualize a hierarchy of its Items
A Grid extension that allows to visualize a hierarchical container. This is an experimental add-on, because I do not know what will be its value for the end-user. Right now it has minimal set of features - basically just showing the tree structure in a grid. I would like to figure out do people need it and if yes continue developing and fixing bugs. Please try it out and comment.
Known issues that are not supported:
- Sorting does not take into account the hierarchical structure. Just plain sorting.
- Hiding the column with expand button, does not create the expand button for the next first visible column.
Sample code
HierarchicalContainer hc= createContainer(); //Create grid tree container GridTreeContainer treeContainer=new GridTreeContainer(hc); //Second parameter in the constructor is an propertyId of the container // of the first visible column GridTree gridTree= new GridTree(treeContainer,"id"); //add grid tree to layout layout.addComponent(gridTree);
Links
Compatibility
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
Use maven instead of Ivy as a project build tool
- Released
- 2015-09-07
- Maturity
- EXPERIMENTAL
- License
- Apache License 2.0
Compatibility
- Framework
- Vaadin 7.5+
- Browser
- Firefox
- Google Chrome
GridTree - Vaadin Add-on Directory
A Grid extension that allows to visualize a hierarchy of its ItemsSource Code
Discussion Forum
GridTree version 1.0.2.alpha1
null
GridTree version 1.0.3.alpha1
Rewrote to Java7. Fix issue with scrolling.
GridTree version 1.0.3.alpha2
null
GridTree version 1.0.3.alpha3
Use maven instead of Ivy as a project build tool