AdvantageCMS.Core.Common.BaseClasses Namespace
Build With Advantage

GridColumnDefinition Constructor (String, String, Boolean)

Creates a column whose initial visibility is set explicitly. Useful when the column is data-bound but should be rendered conditionally.

Namespace:  AdvantageCMS.Web.UI.Admin
Assembly:  AdvantageCMS.Web.UI (in AdvantageCMS.Web.UI.dll)

Syntax


public GridColumnDefinition(
	string headerText,
	string dataField,
	bool visible
)

Parameters

headerText
Type: String
Text shown in the column header.
dataField
Type: String
Property name on the row's data object to bind to.
visible
Type: Boolean
true to render the column; false to keep it bound but hidden.