Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Graham Simmons on Dec 04, 2009 08:34
open dhtmlx forum
Grid combo not working

I have a grid where one of the column types is 'co' and I'm trying to set that column to be a combo populated by a url returning XML but it doesn't work. The URL is returning 9000 records.

var combo = grid.getCombo(cellInd);
combo.enableFilteringMode(true, url, true, true);

I click on the cell and I get the error "object doesn't support this property or method". What am I doing wrong?
Answer posted by Alex (support) on Dec 04, 2009 08:39
If you use "combo" column type (not "co"), it is possible to the following method:

var combo = grid.getColumnCombo(columnIndex);
combo.enableFilteringMode(true, url, true, true);

 

Answer posted by Ivan on Dec 07, 2009 00:20

Hi, Alex

I have checked, there is no "getColumnCombo" method in grid's API reference(just getCombo,getCustomCombo), please confirm.

thanks

Answer posted by dhxSupport on Dec 07, 2009 01:57
Thank you for your note. We'll add getColumnCombo method to the grid's API refenece as soon as possible.
You can find more information about usage this method here http://dhtmlx.com/dhxdocs/doku.php?id=dhtmlxgrid:how_to_use_new_excell_combo