Class MobileColumnBuilder<T>
Inheritance
Inherited Members
Namespace: Syncfusion.JavaScript
Assembly: Syncfusion.EJ.dll
Syntax
public class MobileColumnBuilder<T>
where T : class
Type Parameters
Name | Description |
---|---|
T |
Constructors
MobileColumnBuilder(MobileGrid<T>)
Initializes a new instance of the MobileColumnBuilder<T> class.
Declaration
public MobileColumnBuilder(MobileGrid<T> grid)
Parameters
Type | Name | Description |
---|---|---|
MobileGrid<T> | grid | The grid. |
Methods
Add()
Declaration
public void Add()
AllowFiltering()
Allows the filtering.
Declaration
public MobileColumnBuilder<T> AllowFiltering()
Returns
Type | Description |
---|---|
MobileColumnBuilder<T> | MobileColumnBuilder{`0}. |
AllowFiltering(Boolean)
Allows the filtering.
Declaration
public MobileColumnBuilder<T> AllowFiltering(bool allowFiltering)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | allowFiltering | if set to |
Returns
Type | Description |
---|---|
MobileColumnBuilder<T> | MobileColumnBuilder{`0}. |
AllowSorting()
Allows the sorting.
Declaration
public MobileColumnBuilder<T> AllowSorting()
Returns
Type | Description |
---|---|
MobileColumnBuilder<T> | MobileColumnBuilder{`0}. |
AllowSorting(Boolean)
Allows the sorting.
Declaration
public MobileColumnBuilder<T> AllowSorting(bool allowSorting)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | allowSorting | if set to |
Returns
Type | Description |
---|---|
MobileColumnBuilder<T> | MobileColumnBuilder{`0}. |
CssClass(String)
Specifies the CSS class to grid to achieve custom theme.
Declaration
public MobileColumnBuilder<T> CssClass(string cssclass)
Parameters
Type | Name | Description |
---|---|---|
System.String | cssclass | The cssclass. |
Returns
Type | Description |
---|---|
MobileColumnBuilder<T> | MobileColumnBuilder{`0}. |
DataSource(List<String>)
Specifies the data source for the grid
Declaration
public MobileColumnBuilder<T> DataSource(List<string> dataSource)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.List<System.String> | dataSource | The data source. |
Returns
Type | Description |
---|---|
MobileColumnBuilder<T> | MobileColumnBuilder{`0}. |
DataSource(IEnumerable)
Specifies the data source for the grid
Declaration
public MobileColumnBuilder<T> DataSource(IEnumerable dataSource)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.IEnumerable | dataSource | The data source. |
Returns
Type | Description |
---|---|
MobileColumnBuilder<T> | MobileColumnBuilder{`0}. |
Field(String)
Fields the specified field.
Declaration
public MobileColumnBuilder<T> Field(string field)
Parameters
Type | Name | Description |
---|---|---|
System.String | field | The field. |
Returns
Type | Description |
---|---|
MobileColumnBuilder<T> | MobileColumnBuilder{`0}. |
Format(String)
Formats the specified format.
Declaration
public MobileColumnBuilder<T> Format(string format)
Parameters
Type | Name | Description |
---|---|---|
System.String | format | The format. |
Returns
Type | Description |
---|---|
MobileColumnBuilder<T> | MobileColumnBuilder{`0}. |
HeaderText()
Headers the text.
Declaration
public MobileColumnBuilder<T> HeaderText()
Returns
Type | Description |
---|---|
MobileColumnBuilder<T> | MobileColumnBuilder{`0}. |
HeaderText(String)
Headers the text.
Declaration
public MobileColumnBuilder<T> HeaderText(string headerText)
Parameters
Type | Name | Description |
---|---|---|
System.String | headerText | The header text. |
Returns
Type | Description |
---|---|
MobileColumnBuilder<T> | MobileColumnBuilder{`0}. |
TextAlign(TextAlign)
Texts the align.
Declaration
public MobileColumnBuilder<T> TextAlign(TextAlign textAlign)
Parameters
Type | Name | Description |
---|---|---|
TextAlign | textAlign | The text align. |
Returns
Type | Description |
---|---|
MobileColumnBuilder<T> | MobileColumnBuilder{`0}. |
ValidationRules(Action<MobileValidationRuleBuilder<T>>)
Validations the rules.
Declaration
public MobileColumnBuilder<T> ValidationRules(Action<MobileValidationRuleBuilder<T>> validationRule)
Parameters
Type | Name | Description |
---|---|---|
System.Action<MobileValidationRuleBuilder<T>> | validationRule | The validation rule. |
Returns
Type | Description |
---|---|
MobileColumnBuilder<T> | MobileColumnBuilder{`0}. |
ValidationRules(Dictionary<String, String>)
Validations the rules.
Declaration
public MobileColumnBuilder<T> ValidationRules(Dictionary<string, string> validationRule)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.Dictionary<System.String, System.String> | validationRule | The validation rule. |
Returns
Type | Description |
---|---|
MobileColumnBuilder<T> | MobileColumnBuilder{`0}. |
Visible()
Visibles this instance.
Declaration
public MobileColumnBuilder<T> Visible()
Returns
Type | Description |
---|---|
MobileColumnBuilder<T> | MobileColumnBuilder{`0}. |
Visible(Boolean)
Visibles the specified visible.
Declaration
public MobileColumnBuilder<T> Visible(bool visible)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | visible | if set to |
Returns
Type | Description |
---|---|
MobileColumnBuilder<T> | MobileColumnBuilder{`0}. |
Width(Int32)
Specifies the width for the Grid content.
Declaration
public MobileColumnBuilder<T> Width(int width)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | width | The width. |
Returns
Type | Description |
---|---|
MobileColumnBuilder<T> | MobileColumnBuilder{`0}. |