addCheckbox

adds a checkbox into a cell

void addCheckbox( [object range,string page] );
rangeobjectoptional, an object that defines the start and end cells of the range to add checkboxes into
pagestringoptional, the name of the sheet

Example

$$("ssheet").addCheckbox({
    start:{row:1, column:3}, 
    end:{row:3, column:3}
});

Related samples

Details

The range object includes the following properties:

  • start - (object) an object with the start cell of the range set as {row:id, column:id}
  • end - (object) an object with the end cell of the range set as {row:id, column:id}

If the range parameter isn't specified, the method adds checkboxes into the selected cells.

See also
Back to top
Join Our Forum
We've retired comments here. Visit our forum for faster technical support, connect with other developers, and share your feedback there.