Hi there,
Having an treegrid which loads from XML
mygrid.loadXML(“ksflxflat.xml”);
With the ksflxflat.xml being:
Data
35079
Basedata
Objekt
And the ksdatacatalog.xml being
630
6300
The grid displays the value null for the combo after mygrid.loadXML.
If the cell goes into edit mode, the correct catalog is displayed and the correct value is highlighted.
Just the inital view of the grid is wrong.
Additionally the image of the combobox is missing ( red x placeholder image instead ).
Did I miss some includes? Should there be an updatecell call?
Please advice.
I did include
best regards,
aphily
Additionally the image of the combobox is missing ( red x placeholder image instead ).
Please check if you are using separate path setting for combo ( in latest version it will use same image folder as grid uses - set by grid.setImagePath )
Separate path to imgs folder of combo can be set as
window.dhx_globalImgPath=“path to folder”
>>Did I miss some includes? Should there be an updatecell call?
The includes and code looks correct.
Which version of dhtmlxtreegrid you are using?
ComboImage:
I was using
mygrid.imgURL = “/dhtmlx/dhtmlxGrid/codebase/imgs/icons_greenfolders/”;
Now I added
mygrid.setImagePath = “/dhtmlx/dhtmlxGrid/codebase/imgs/”;
Which does not change anything. The combo is still looking in >con_greenfolders< for its icon.
So i copied then combo icon to that folder and its fine.
Initial Combo View in Grid:
I am using Build 81107.
If I change the grid xml from
35079
to
35079
The initial view of the grid is correct.
Best regards
aphily
Dear Aphily,
The modified combo excell is sent by email. It should fix the described issues.