DataGrid REALbasic Plugin |

# DataGridSelection.AddRows Method

Adds rows to the selection when in Full Row and multiselection mode.

AddRows(
firstRow as Integer,
lastRow as Integer)

#### Parameters

firstRow
  The first row number to add to the selection.
lastRow
  The last row number to add to the selection.

#### Remarks

When not in Full Row and multiselection mode then this method does nothing.
Note:
Row and Column numbers in the Grid controls are one based which means that the first row and first columns are number one.

#### See Also

DataGridSelection Class