AdvantageCMS.Core.Common.BaseClasses Namespace
Advantage CSP

ToolGridListBase..::..DefineColumn Method (String, String, eDataType, 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,
	eDataType dataType,
	bool visible,
	bool filter,
	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.Enums..::..eDataType
Type of the data of the column.
visible
Type: Boolean
If set to true the column is visible.
filter
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.