ComponentOne FlexGrid for WinForms
AddItem(String,Int32) Method

C1.Win.C1FlexGrid Namespace > C1FlexGridBase Class > AddItem Method : AddItem(String,Int32) Method
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.
Position where the new row will be inserted.
Adds a row to the grid at a specified position and populates the new row with data.
Syntax
'Declaration
 
Public Overloads Function AddItem( _
   ByVal item As String, _
   ByVal index As Integer _
) As Row
public Row AddItem( 
   string item,
   int index
)

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.
index
Position where the new row will be inserted.

Return Value

A reference to the new row.
See Also

Reference

C1FlexGridBase Class
C1FlexGridBase Members
Overload List