addRadio

adds a radio button into a cell

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

Example

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

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 radio buttons 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.