AddItem(String,Int32) Method | FlexGrid for WinForms | ComponentOne
C1.Win.C1FlexGrid Namespace / C1FlexGrid 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 C1FlexGridBase.ClipSeparators property.
Position where the new row will be inserted.

In This Topic
AddItem(String,Int32) Method
In This Topic
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
 

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

Return Value

A reference to the new row.
See Also