Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by aioanei roxana on Sep 02, 2008 03:17
open dhtmlx forum
how to iterate throught a combo items

Hello!

I am tring to simulate the autocomplet, my probleme is that I don't know how to iterate throught a combo items. On event 'doOnCellEdit' for state==2 I want to check if mygrid.cells(selectID,1).getValue() is in combo items list.

T.I.A.
Roxana

Answer posted by Support on Sep 02, 2008 03:45
http://dhtmlx.com/docs/products/dhtmlxGrid/doc/articles/Selectbox_collections.html#grid_art_selectbox

grid.getCombo(index).keys  - array of option values
grid.getCombo(index).values - array of option labels