FlexGrid for WinForms
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
'Usage
 
Dim instance As C1FlexGridBase
Dim item As String
Dim index As Integer
Dim value As Row
 
value = instance.AddItem(item, index)
public Row AddItem( 
   string item,
   int index
)
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.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

C1FlexGridBase Class
C1FlexGridBase Members
Overload List

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Send Feedback