Hi,
I am using dhtml grid
My requirement is
1. I defined coro type column
2. Now i want to update the combos contained in this coloumn dynamically
but when i try to do it like
combo=mygrid.getCombo(3);
combo.put(key,value );
it updates all the combo of that colomn not a perticular combo
How to overcome this problem
Please suggest some solution
regards
Awkash
By default, list of options is common for all rows in same column.
Starting from dhtmlxgrid 1.4 it was possible to define different options sets for different rows from xml
In latest version it possible to do by JS API as well
Instead of
combo=mygrid.getCombo(3);
you can use
combo=mygrid.getCustomCombo(rowID,3);
where rowID - id of row, for which combo need to be taken
Please beware that getCustomCombo will work only if row in question already exists in grid.