Insert a row in the table at the specified index, and set attributes of each new cell as specified. The attribute and value arrays are two dimensional. Their first dimension must be the same length as the "innerHTML" array. Their second dimensions must match with each other. To set style values, specify attribute strings starting with "style.", e.g. "style.color".

Namespace: Jaxcent.Web.Html
Assembly: Jaxcent (in Jaxcent.dll) Version: 2.3.1.0 (2.3.1.0)

Syntax

         
 C#  Visual Basic  Visual C++ 
public JaxcentTableRow InsertRow(
	int index,
	string[] innerHTML,
	string[][] attributes,
	string[][] values
)
Public Function InsertRow ( _
	index As Integer, _
	innerHTML As String(), _
	attributes As String()(), _
	values As String()() _
) As JaxcentTableRow
public:
JaxcentTableRow^ InsertRow(
	int index, 
	array<String^>^ innerHTML, 
	array<array<String^>^>^ attributes, 
	array<array<String^>^>^ values
)

Parameters

index
Int32
0-based index where to insert the row, or -1 to insert at end
innerHTML
array<String>[]()[][]
HTML Content
attributes
array<array<String>[]()[][]>[]()[][]
Column Attributes
values
array<array<String>[]()[][]>[]()[][]
Values for column Attributes

Return Value

The new row added

See Also