Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by John on Feb 26, 2009 08:26
open dhtmlx forum
DHTMLXGrid with Combo

hi,

I am trying to integrate DHTMLXCombo to a cell in DHTMLXGrid control for the cell data i am trying with the example which is provided by you guys
http://dhtmlx.com/docs/products/dhtmlxGrid/samples/interaction_other_components/pro_combo.html?un=1224149348000

<column width="150" type="combo" align="left" filter="true" sort="str" xmlcontent="1">Filtering Mode
<option value="1">one</option>
<option value="2">two</option>
<option value="3">three</option>
<option value="4">four</option>
<option value="5">five</option>
<option value="6">six</option>
<option value="7">seven</option>
<option value="8">eight</option>
<option value="9">nine</option>
<option value="10">ten</option>
</column>

i am getting a error msg
this.combo is undefined
[Break on this error] this.combo = this.cell.dcombo;this.cell...bo.getIndexByValue(this.cell._cval)!=-1)

May i know the xml tag details need to add for combo in grid and the necessary .js file.

Is there any way dhtmlx can provide ONE .js file which will load/call all necessary .js file inside rather than we tag then it in our code.

regards
john.
Answer posted by Alex (support) on Feb 27, 2009 04:16

>> May i know the xml tag details need to add for combo in grid and the necessary .js file.

Combo integration is available only in the PRO edition. It requires following files:

- css: dhtmlxgrid.css, dhtmlxcombo.css;

- js: dhtmlxcommon.js,dhtmlxgrid.js, dhtmlxgridcell.js,dhtmlxgrid_excell_combo.js,dhtmlxcombo.js;

>> Is there any way dhtmlx can provide ONE .js file which will load/call all necessary .js file inside rather than we tag then it in our code.

There is a special component which is provided only with Suite package - libCompiler. It allows to get all necessary js files in one file js.

If problem with combo excell persits, please provide the sample at support@dhtmlx.com where it can be recreated.