AdvantageCMS.Core.Common.BaseClasses Namespace
Build With Advantage

GridColumnDefinition Members

The GridColumnDefinition type exposes the following members.

Constructors


  Name Description
Public method GridColumnDefinition(String, String)
Creates a column with just a header and a data-bound property name.
Public method GridColumnDefinition(String, String, Int32)
Creates a column with a fixed pixel width.
Public method GridColumnDefinition(String, String, Boolean)
Creates a column whose initial visibility is set explicitly. Useful when the column is data-bound but should be rendered conditionally.
Public method GridColumnDefinition()()()()
Creates an empty column definition. The parameterless constructor exists so the type can be declared inline in .ascx markup with attributes set afterwards.

Properties


  Name Description
Public property DataField
Property name on the row's data object to data-bind to. Also used as the column's UniqueName, so it must be distinct across the grid's columns.
Public property HeaderCssClass
Extra CSS class appended to the header cell. Combined with the framework class advantageGrid-column-header.
Public property HeaderText
Text rendered in the column header.
Public property ItemCssClass
Extra CSS class appended to each data cell in this column. Combined with the framework class advantageGrid-column-item.
Public property Visible
Controls whether the column is rendered. Defaults to true.
Public property Width
Fixed column width in pixels. Leave at 0 to let Telerik auto-size based on content.