SpreadJS Documentation
Setting the Active Cell
Collapse All
Expand All
SpreadJS Documentation
>
Sample Code
>
Sample Code for Cells
> Setting the Active Cell
You can specify the active cell.
Using Code
This example sets the active cell.
JavaScript
Copy Code
$("#button1").click(function () {
//Set cell (3,3) to active
activeSheet.setActiveCell(3, 3);
});