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

Popular posts from this blog

networking - Vagrant-provisioned VirtualBox VM is not reachable from Ubuntu host -

c# - ASP.NET Core - There is already an object named 'AspNetRoles' in the database -

ruby on rails - ArgumentError: Missing host to link to! Please provide the :host parameter, set default_url_options[:host], or set :only_path to true -