creates an editor in a cell
rowId | number | the row id |
columnId | number | the column id |
editorObject | object | an object with editor type and options (for richselect) |
page | string | optional, the name of the sheet |
$$("ss1").setCellEditor(8, 1, {
editor: "ss_richselect",
options: ["One", "Two", "Three"]
}, "Sheet1");
// or
$$("ss1").setCellEditor(8, 2, {
editor:"ss_richselect",
options:"B3:B7",
empty:true
}, "Sheet1");
The editorObject parameter can have the following properties:
You can pass null as the editorObject parameter. In this case the editor will be removed from the cell.