Modifier and Type | Method and Description |
---|---|
void |
add()
Adds a new row to the collection.
|
void |
add(int index)
Inserts a new row at the specified index.
|
void |
addMultiple(int count)
Adds the specified number of new rows to the collection.
|
void |
addMultiple(int index,
int count)
Inserts the specified number of new rows at the specified index.
|
void |
remove(int index)
Removes the row at the specified index.
|
void |
removeMultiple(int index,
int count)
Removes the specified number of rows at the specified index.
|
int |
size()
Gets the number of rows contained in the collection, not including the header row and, if enabled, totals row.
|
public void add()
public void add(int index)
index
- The row index.IndexOutOfBoundsException
- index
is out of range.public void addMultiple(int count)
count
- The number of rows to add.public void addMultiple(int index, int count)
index
- The row index.count
- The number of rows to insert.IndexOutOfBoundsException
- index
is out of range or count
is less than 1.public void remove(int index)
index
- The row index.IndexOutOfBoundsException
- index
is out of range.public void removeMultiple(int index, int count)
index
- The row index.count
- The number of rows to remove.IndexOutOfBoundsException
- index
is out of range or count
is less than 1.public int size()
© GemBox d.o.o. — All rights reserved.