getCellEditor

returns the editor set in a cell

object getCellEditor(number row,number column);

Parameters

rownumberthe row id
columnnumberthe column id

Returns

objectan object with editor's type and a set of options (see the details)

Example

// setting a cell editor
$$("ss1").setCellEditor(8,1,{editor:"richselect", options:["One","Two","Three"]});
 
// getting the cell editor
$$("ss1").getCellEditor(8,1); //->{editor:"richselect", options:["One","Two","Three"]}

Related samples

Details

The returned object contains two properties:

  • editor - (string) the type of the editor
  • options - (string,array) a range of cell references or an array of editor options
{editor:"richselect", options:["One","Two","Three"]}
 
// or
{editor:"richselect", options:"B3:B7"}
See also
Back to top
If you have not checked yet, be sure to visit site of our main product Webix ui component library and page of javascript spreadshee product.