AdvantageCMS.Core.Common.BaseClasses Namespace
Advantage CSP

ToolGridListBase..::..DefineColumn Method (String, String, eDataType, Boolean, Boolean, Boolean, Boolean, Int32, Int32)

Defines the column.

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,
	int columnWidth,
	int filterControlWidth
)

Parameters

title
Type: String
The title.
dataField
Type: String
The data field.
dataType
Type: AdvantageCMS.Core.Admin.Enums..::..eDataType
Type of the data.
visible
Type: Boolean
if set to true [visible].
filter
Type: Boolean
if set to true [filter].
sort
Type: Boolean
if set to true [sort].
appendDetailTitle
Type: Boolean
if set to true [append detail title].
columnWidth
Type: Int32
Width of the column.
filterControlWidth
Type: Int32
Width of the filter control.