Dear all,
I am trying to implement properties panel using TreeGrid and createRecordComponent method to put Widgets in cells. But I am facing strange problems.
First time when I open tree everything look perfect. (see 1st attachment - treeGrid1.png)
When I collapse one node I am getting mixed cells (see 2st attachment - treeGrid2.png)
When I expand same node again thing are getting even worse (see 2st attachment - treeGrid2.png)
With “one node” tree everything looks fine, but I am having very complex structure to edit in properties panel.
I would appreciate any help.
Kind regards
Igor Paunov
Can you post the definitions of your TreeGrid, DataSource and data?
Thank you for your reply. I have attached some files.
PropertiesXmlDS.java - datasource
properties.data.xml - data
PropertiesPanelTab.java - TreeDefinition
properties.data.xml (3.65 KB)
PropertiesPanelTab.java (3.68 KB)
PropertiesXmlDS.java (1.81 KB)
Any comments here ?
Thank you in advance
Igor Paunov
Use
grid.setRecordComponentPoolingMode(“viewport”);
or
grid.setRecordComponentPoolingMode(“data”);
see the docs for these options
Note that this is currently a string but will be changed to an enum in upcoming nightlies
With grid.setRecordComponentPoolingMode(“data”); it works great!
Heavy respect
many thanks!!!
Regards
Igor Paunov