Categories | Question details Back To List | ||
default value? Hi, 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? Answer posted by Stanislav on Sep 07, 2007 19:26 When you specify column types you can set default values as well grid.setColTypes("ed,co[DEFAULT_VALUE]"); value in brackets after column type will be used as default one |