AdvantageCMS.Core.Admin.BaseClasses Namespace
AdvantageCMS.Core.Common.BaseClasses Namespace
Advantage CSP

ToolDataTableList<(Of <(<'T>)>)>..::..DefineColumn Method (String, String, eDataTableDataType, Boolean, Boolean, Boolean, Boolean)

Adds a column definition to the grid list tool.

Namespace:  AdvantageCMS.Core.Admin.BaseClasses
Assembly:  AdvantageCMS.Core (in AdvantageCMS.Core.dll)

Syntax


public void DefineColumn(
	string title,
	string dataField,
	eDataTableDataType dataType,
	bool visible,
	bool searchable,
	bool sort,
	bool appendDetailTitle
)

Parameters

title
Type: String
The title of the column.
dataField
Type: String
The data field of the column.
dataType
Type: AdvantageCMS.Core.Admin.BaseClasses..::..eDataTableDataType
Type of the data of the column.
visible
Type: Boolean
If set to true the column is visible.
searchable
Type: Boolean
If set to true the column will allow filtering.
sort
Type: Boolean
If set to true the column will allow sorting.
appendDetailTitle
Type: Boolean
If set to true the column data will be appended to the detail subtitle.