Click or drag to resize

dataTableRenderingSetupsetColumnWidths Method

imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Sets the column width according to markdown rendering

Namespace:  imbSCI.Core.extensions.table
Assembly:  imbSCI.Core (in imbSCI.Core.dll) Version: 0.3.58.
Syntax
C#
public static DataTable setColumnWidths(
	this DataTable dt,
	int rowCheckLimit = 100,
	int cellMargin = 2
)
Request Example View Source

Parameters

dt
Type: System.DataDataTable
The dt.
rowCheckLimit (Optional)
Type: SystemInt32
The row check limit.
cellMargin (Optional)
Type: SystemInt32
Extra characters to add on content right

Return Value

Type: DataTable

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type DataTable. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also