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.
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);
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.
Use maven instead of Ivy as a project build tool
- Apache License 2.0
- Vaadin 7.5+
- Google Chrome