default value?


Is it possible to specify a default value in dhtmlxgrid when you add a new row? For example I have 2 columns, a text field and a combo box.

The combo box has 4 options “— Select —”, “1”, “2”, “3”.

When I add a new row, it sets both columns for the new row to be blank. I want the combo box to have the default value of " — Select —".

How do I do this?

When you specify column types you can set default values as well
value in brackets after column type will be used as default one