Docs
API
  • getSelection():Array


    Returns selected rows with value or values of cells.
    If selModel is row or rows than it returns Array of objects.

    
    [
      {...},
      {...}
    ]
    
    If selModel is cell or cells than it returns Array of arrays.
    
    [
      [...],
      [...]
    ]
    

    Example

    
    var selection = grid.getSelection();
    

    See also

    Method clearSelection
    Method deSelectRow
    Method disableSelection
    Method enableSelection
    Method selectRow
    Method setSelModel
    Method setSelModel
    Method stopSelection

    Doc Link Selection
    Tutorial Link Selection