Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by chris2001dc on Oct 26, 2007 08:26
open dhtmlx forum
combobox

Hi,
I am using the grid with a coro(combobox) column, and I have a button that adds a row. My question is : Is there any way to show the box with the arrow in the coro column when then row is added, so the user can see that the cell is a list?? please help me

Thank you!!
Answer posted on Oct 29, 2007 06:30
There are two ways

a) fast and dirty - just switch coro excell to edit state straight after adding
    grid.addRow(new_id,....
    grid.selectCell(new_id,coro_index);
    grid.editCell();

b) It is more complicated, but possible to create a custom excell, which will work as coro excell but will have additional icon in not-edit state as well.