editCell

enables editing of a Grid cell

void editCell(string row,string col,string editorType);

Parameters

rowstringthe id of a row
colstringthe id of a column
editorTypestringoptional, the type of an editor used in a cell: "input"|"select"|"datepicker"|"checkbox"|"combobox"|"textarea"

Example

grid.editCell(grid.data.getId(0),"project");

Related samples

See also
Change log
  • added in v6.4
  • the "textarea" type of the editor is added in v7.1
Back to top