[]
        
(Showing Draft Content)

C1.Web.Mvc.Fluent.ColumnBaseBuilder-2

ColumnBaseBuilder<TControl, TBuilder> Class

Defines a builder to configurate ColumnBase.

Inheritance
HideObjectMembers
BaseBuilder<TControl, TBuilder>
ColumnBaseBuilder<TControl, TBuilder>
Namespace: C1.Web.Mvc.Fluent
Assembly: C1.Web.Mvc.dll
Syntax
public abstract class ColumnBaseBuilder<TControl, TBuilder> : BaseBuilder<TControl, TBuilder> where TControl : ColumnBase where TBuilder : ColumnBaseBuilder<TControl, TBuilder>
Type Parameters
Name Description
TControl
TBuilder

Constructors

Name Description
ColumnBaseBuilder(TControl)

Creates one ColumnBaseBuilder<TControl, TBuilder> instance to configurate obj.

Methods

Name Description
Aggregate(Aggregate)

Configurates Aggregate. Sets the Aggregate to display in the group header rows for this column.

Align(string)

Configurates Align. Sets the horizontal alignment of items in this column.

AllowDragging(bool)

Configurates AllowDragging. Sets whether the user can move this row or column to a new position with the mouse.

AllowMerging(bool)

Configurates AllowMerging. Sets whether cells in this row or column can be merged.

AllowResizing(bool)

Configurates AllowResizing. Sets a value that indicates whether the user can resize the row or column with the mouse.

AllowSorting(bool)

Configurates AllowSorting. Sets whether the user can sort this column by clicking its header.

Binding(string)

Configurates Binding. Sets the name of the property this column is bound to.

CellTemplate(Action<CellTemplateBuilder>)

Configurates CellTemplate. Sets the cell template in this column.

CollapseTo(string)

Configurates CollapseTo. Sets the binding of the child column that should remain visible when the group is collapsed.

ColumnGroups(Action<ListItemFactory<Column, ColumnBuilder>>)

Configure Columns.

Columns(Action<ListItemFactory<Column, ColumnBuilder>>)

Configure Columns.

CssClass(string)

Configurates CssClass. Sets a CSS class name to be used when rendering non-header cells in this row or column.

CssClassAll(string)

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

DataMap(Action<DataMapBuilder>)

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

DataMapEditor(DataMapEditor)

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

DataType(DataType?)

Configurates DataType. Sets the type of value stored in this column.Values are coerced into the proper type when editing the grid.

DropDownCssClass(string)

Configurates DropDownCssClass. Sets a CSS class name to add to drop-downs in this column.

Editor(string)

Configurates Editor. Sets a reference to an input control to be used as a custom cell editor for this.

Format(string)

Configurates Format. Sets the format string used to convert raw values into display values for this column (see Globalize).

Header(string)

Configurates Header. Sets the text displayed in the column header.

Height(int?)

Configurates Height. Sets the height of this column group

InputType(string)

Configurates InputType. Sets the "type" attribute of the HTML input element used to edit values in this column.

IsCollapsed(bool)

Configurates IsCollapsed. Sets whether column group is collapse.

IsContentHtml(bool)

Configurates IsContentHtml. Sets whether cells in this row or column contain HTML content rather than plain text.

IsReadOnly(bool)

Configurates IsReadOnly. Sets whether cells in this row or column can be edited.

IsRequired(bool?)

Configurates IsRequired. Sets a value that determines whether values in the column are required.

IsSelected(bool)

Configurates IsSelected. Sets whether this row or column is selected.

Mask(string)

Configurates Mask. Sets a mask to be used while editing values in this column.

MaxLength(int?)

Configurates MaxLength. Sets the maximum number of characters that the can be entered into the cell.

MaxWidth(int?)

Configurates MaxWidth. Sets the maximum width of this column.

MinWidth(int?)

Configurates MinWidth. Sets the minimum width of this column.

MultiLine(bool)

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

Name(string)

Configurates Name. Sets the name of this column.

QuickAutoSize(bool?)

Configurates QuickAutoSize. Sets a value that determines whether the grid should optimize performance over precision when auto-sizing this column.

SortMemberPath(string)

Configurates SortMemberPath. Sets the name of the property to use when sorting this column.

Template(string)

Configurates Template. Sets a template string to be used for generating the HTML content of data cells in this Column.

TemplateFunction(string)

Configurates TemplateFunction. Sets a template function to be used for generating the HTML content of data cells in this Column.

Visible(bool)

Configurates Visible. Sets whether this row or column is visible.

Width(string)

Configurates Width. Sets the width of this column.

WordWrap(bool)

Configurates WordWrap. Sets whether cells in this row or column should wrap their content.