Create a table source from a 2-d Array. JaxcentTable.SetTableContent will use this 2-d array to update the table. The table rows will grow/shrink to match the rows in DataTable. The 2-d array can contain properly formed HTML to be inserted into table cells, or it can contain text strings (any characters like < or > etc will be escaped in case of text strings.)

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 TableDataSource(
	string[][] data,
	bool isHtml,
	int numHeaderRows,
	TableUpdateStyles tableUpdateStyles
)
Public Sub New ( _
	data As String()(), _
	isHtml As Boolean, _
	numHeaderRows As Integer, _
	tableUpdateStyles As TableUpdateStyles _
)
public:
TableDataSource(
	array<array<String^>^>^ data, 
	bool isHtml, 
	int numHeaderRows, 
	TableUpdateStyles^ tableUpdateStyles
)

Parameters

data
array<array<String>[]()[][]>[]()[][]
The 2-d array containing the data
isHtml
Boolean
Whether the array contains HTML. False if it contains Text.
numHeaderRows
Int32
Set NumHeaderRows, number of "header" rows in table
tableUpdateStyles
TableUpdateStyles
Set TableUpdateStyles, style for any inserted rows

See Also