[]
        
(Showing Draft Content)

C1.Web.Mvc.ColumnBase

ColumnBase Class

Represents a column on the grid.

Inheritance
ColumnBase
Namespace: C1.Web.Mvc
Assembly: C1.Web.Mvc.dll
Syntax
public abstract class ColumnBase

Constructors

Name Description
ColumnBase()

Creates one ColumnBase instance.

Properties

Name Description
Aggregate

Gets or sets the Aggregate to display in the group header rows for this column.

Align

Gets or sets the horizontal alignment of items in this column.

AllowDragging

Gets or sets whether the user can move this row or column to a new position with the mouse.

AllowMerging

Gets or sets whether cells in this row or column can be merged.

AllowResizing

Gets or sets a value that indicates whether the user can resize the row or column with the mouse.

AllowSorting

Gets or sets whether the user can sort this column by clicking its header.

Binding

Gets or sets the name of the property this column is bound to.

CellTemplate

Gets the cell template in this column.

CollapseTo

Gets or sets the binding of the child column that should remain visible when the group is collapsed.

Columns

Gets the grid's column collection under the column.

CssClass

Gets or sets a CSS class name to be used when rendering non-header cells in this row or column.

CssClassAll

Gets or sets a CSS class name to use when rendering all cells (data and headers) in the column or row.

DataMap

Gets the DataMap used to convert raw values into display values for the column.

DataMapEditor

Gets or sets a value that indicates the type of editor to use when editing data-mapped cells in this column or row.

DataType

Gets or sets the type of value stored in this column.Values are coerced into the proper type when editing the grid.

DropDownCssClass

Gets or sets a CSS class name to add to drop-downs in this column.

Editor

Gets or sets a reference to an input control to be used as a custom cell editor for this.

Format

Gets or sets the format string used to convert raw values into display values for this column (see Globalize).

Header

Gets or sets the text displayed in the column header.

Height

Gets or sets the height of this column group

InputType

Gets or sets the "type" attribute of the HTML input element used to edit values in this column.

IsCollapsed

Gets or sets whether column group is collapse.

IsContentHtml

Gets or sets whether cells in this row or column contain HTML content rather than plain text.

IsReadOnly

Gets or sets whether cells in this row or column can be edited.

IsRequired

Gets or sets a value that determines whether values in the column are required.

IsSelected

Gets or sets whether this row or column is selected.

Mask

Gets or sets a mask to be used while editing values in this column.

MaxLength

Gets or sets the maximum number of characters that the can be entered into the cell.

MaxWidth

Gets or sets the maximum width of this column.

MinWidth

Gets or sets the minimum width of this column.

MultiLine

Gets or sets a value that indicates whether the content of cells in this row or column should wrap at new line characters (\n).

Name

Gets or sets the name of this column.

QuickAutoSize

Gets or sets a value that determines whether the grid should optimize performance over precision when auto-sizing this column.

SortMemberPath

Gets or sets the name of the property to use when sorting this column.

Template

Gets or sets a template string to be used for generating the HTML content of data cells in this Column.

TemplateFunction

Gets or sets a template function to be used for generating the HTML content of data cells in this Column.

Visible

Gets or sets whether this row or column is visible.

Width

Gets or sets the width of this column.

WordWrap

Gets or sets whether cells in this row or column should wrap their content.