Parameters
- item
- String containing the data for the new row. Items are separated by tab characters by default. You can change the separator character using the ClipSeparators property.
Return Value
A reference to the new row.
You can also add and remove rows using the Rows collection. The AddItem(String) method provides a concise syntax for creating the row, populating it with data, and then adding it to the grid.
Before using AddItem(String) to add a large number of rows to the grid, remember to set the Redraw property to false. When finished adding the rows, set Redraw back to its original value. This will significantly improve performance.