Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Nico on Jan 21, 2008 03:43
open dhtmlx forum
XML Grid + Combo

Dear all,

I would like to use the dhtmlxGrid Integration with dhtmlxCombo.
But is it possible to make with this tool that comboboxes match witch each other?

For example:

I have to combo boxes
Combobox 1 has the value's: [A],[B],[C],[D]
Combobox 2 has the value's for A: [sub A 1], [Sub a 2], [Sub a 3]
value's for B: [sub B 1], [Sub B 2], [Sub b 3],[Sub D4]
value's for C: [sub c 1], [Sub c 2]
value's for D: [sub D 1], [Sub D 2], [Sub D 3],[Sub D 4], [Sub D5]

Is it possible to make something like that with dhtmlxGrid in Combination with dhtmlcCombo and how?

Thanks


Answer posted by Support on Jan 21, 2008 06:05
In can be done with using "co" excell type
    http://dhtmlx.com/docs/products/dhtmlxGrid/samples/cell_types/pro_dynamic_combo.html?un=1200925024000
In case of "combo" excell, it is pretty hard to achieve such functionality with existing API
( We plan to seriously update "combo" excells, so it would be more easy to made such integration - updated code will be available till the end of the week )
Answer posted on Jan 25, 2008 00:49
Thanks for the answer.
Can you send me a messege when the update is ready?

Thanks in advance.
Answer posted by Dan East on Feb 08, 2008 07:15
It appears there is a bug related to the per-cell list options.  I tried your demo with Firefox 2.0.0.11 and IE 6, and both exhibited the same behavior.  The first few shipping cells I double click will show the proper options.  Then they will only have a single option, which is the current value of the cell.

http://dhtmlx.com/docs/products/dhtmlxGrid/samples/cell_types/pro_dynamic_combo.html?un=1200925024000

I just tried it again, and it worked for a good 15-20 selects before the bug manifested.  Once it does, each Shipping cell will only have a single item in the list when double-clicked.

Answer posted by Support on Feb 08, 2008 08:00
Please try to use updated version.


Attachments (2)