Documentation

getSelectedId

returns the selected cells

object|array getSelectedId( [booleanasArray,booleanasString] );

Parameters

asArraybooleanspecifies whether the returning result can be only array or both array and object
asStringbooleanthe id will be a string ( row id )

Returns

object|arraythe currently selected cells

See also

Details

The format of the selection object:

  • column - the column id
  • row - the row id
  • id - the cell id ({row}_{column})

if "asString" parameter was set, only row id will be returned

Back to top