Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Stefan Riedel-Seifert on Feb 13, 2009 02:01
open dhtmlx forum
TreeGrid - Incorrect cell type combo

Hello,

i want to realize a simple treegrid with 2 columns. 1st column is the tree, the second column represents the values.

The grid data should be loaded via xml:

<?xml version="1.0" encoding="iso-8859-1" ?>
- <rows>
- <head>
<beforeInit />
<column width="50" type="tree" align="left" color="#deeaf8" sort="str">Name</column>
<column width="*" type="combo" align="left" color="white" sort="str" source="combo.do" auto="true" cache="true">Value</column>
- <settings>
<colwidth>%</colwidth>
</settings>
</head>


Because the most values should be edited via combobox is want to choose this type, but will get an error at runtime.

Why is this type not availabe in treegrid but in grid? What type should i use? ed?

Best regards,
Stefan
Answer posted by Alex (support) on Feb 13, 2009 05:38

There is "co" type. It allows to values from the list and type new value.

"combo" type is also available. It is dhtmlxcombo implementation. So, if you want to use this type, the dhtmlxgrid_excell_combo.js and dhtmlxCombo libraries should be included. The sample is dhtmlxGrid/samples/interaction_other_components/pro_combo.html

dhtmlxGrid/doc/articles/Combo_excell.html

http://dhtmlx.com/docs/products/dhtmlxGrid/doc/articles/Combo_excell.html

 

Answer posted by Stefan on Feb 13, 2009 06:02

hmmmmmmmm, it does not work. The xml is in another path:

 

<cell type="combo" xmlcontent="1" source="../../libraries/dhtmlx/combobox/data.xml">1</cell>

 

After loading the tree grid, the ie 6 browser displays null, ff3 dispalys nothing :-(.

 

Regards, Stefan

 

 

Answer posted by Alex (support) on Feb 13, 2009 06:38

Please, check that all combo libraries are correctly included. We have sent you the latest combo excell version. Possibly it will resolve the issue.

Also there are some remarks to other your questions - http://dhtmlx.com/docs/products/kb/index.php?s=normal&q=7907 

If problem persists, please provide the sample where it can be recreated at support@dhtmlx.com

Answer posted by Stefan Riedel-Seifert on Feb 15, 2009 23:09

Hello,

i've got no other version of the combo box by e-mail. Attached you will find the sources.

 

Best regards, Stefan

Answer posted by Alex (support) on Feb 16, 2009 06:06

Hello,

we have sent you the sample by email. 

If problem persists, please let us know. 

P.S. please, don't send files from pro edition by the forum (only at support@dhtmlx.com

Answer posted by Stefan on Feb 16, 2009 06:20
okay. can you sent the file to stefan@riedel-seifert.de. I've got no email so far.