returns the first cell in the selected area
| asArray |
| object|array | a cell object or an array with cell objects |
// returns the first cell in the selected area
var cell = $$("ssheet").getSelectedId();
// returns all the selected cells as an array
var cells = $$("ssheet").getSelectedId(true);
If no parameters were passed to the method, it returns the first cell in the selected area. If the "asArray" parameter is set to true, the method will return all of the cells in the selected area as an array. An object stores the cell position.
Back to top