java - Vaadin 8.1 RC1 TreeDataProvider, TreeData (getParent), HierarchicalQuery -
i'm trying te play treegrid @ vaadin 8.1 rc1. i'm trying migare hierarchicalcontainer treedataprovider. didn't idea of new hierarchial data stucture. need simple things: - possible id of item of hierarchical data? or new data not use ids? - is possible parent object of existed object. like
treedata<myclass> mytreedata; myclass myobject; myclass parentitem = mytreedata.getparent(myobject)
i've found deail related hierarchicalquery , "the parent node available in hierarchicalquery via getparent method, returns root level." no examples how use hierarchicalquery.
at moment (vaadin 8.1.0) no such method. added proposal , can implementer @ future versions. can store hierarchical info @ bean class use treedata.
Comments
Post a Comment