Class ColumnBuilder
Inheritance
System.Object
ColumnBuilder
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Syncfusion.JavaScript.Models
Assembly: Syncfusion.EJ.dll
Syntax
public class ColumnBuilder
Constructors
ColumnBuilder(Column)
Specifies the current column of the grid
Declaration
public ColumnBuilder(Column currentColumn)
Parameters
Type | Name | Description |
---|---|---|
Column | currentColumn |
Methods
cssClass(String)
Specifies the customizing appearance of grid
Declaration
public ColumnBuilder cssClass(string cssClass)
Parameters
Type | Name | Description |
---|---|---|
System.String | cssClass |
Returns
Type | Description |
---|---|
ColumnBuilder |
Field(String)
Specifies the fields in grid
Declaration
public ColumnBuilder Field(string field)
Parameters
Type | Name | Description |
---|---|---|
System.String | field |
Returns
Type | Description |
---|---|
ColumnBuilder |
HeaderTemplateID(String)
Specifies the headertemplateID for grid
Declaration
public ColumnBuilder HeaderTemplateID(string templateId)
Parameters
Type | Name | Description |
---|---|---|
System.String | templateId |
Returns
Type | Description |
---|---|
ColumnBuilder |
HeaderText(String)
Specifies the HeaderText of the grid
Declaration
public ColumnBuilder HeaderText(string headerText)
Parameters
Type | Name | Description |
---|---|---|
System.String | headerText |
Returns
Type | Description |
---|---|
ColumnBuilder |
HeaderTextAlign(TextAlign)
Specifies the headertext alignment in grid
Declaration
public ColumnBuilder HeaderTextAlign(TextAlign headerTextAlign)
Parameters
Type | Name | Description |
---|---|---|
TextAlign | headerTextAlign |
Returns
Type | Description |
---|---|
ColumnBuilder |
Template(String)
specifies the templates in grid
Declaration
public ColumnBuilder Template(string template)
Parameters
Type | Name | Description |
---|---|---|
System.String | template |
Returns
Type | Description |
---|---|
ColumnBuilder |
TemplateID(String)
specifies the templateID for grid
Declaration
[Obsolete("TemplateID property has been deprecated.Use Template property instead")]
public ColumnBuilder TemplateID(string templateId)
Parameters
Type | Name | Description |
---|---|---|
System.String | templateId |
Returns
Type | Description |
---|---|
ColumnBuilder |
TextAlign(TextAlign)
specifies the Textalignment in grid
Declaration
public ColumnBuilder TextAlign(TextAlign textAlign)
Parameters
Type | Name | Description |
---|---|---|
TextAlign | textAlign |
Returns
Type | Description |
---|---|
ColumnBuilder |
Width(String)
specifies the width of the grid
Declaration
public ColumnBuilder Width(string width)
Parameters
Type | Name | Description |
---|---|---|
System.String | width |
Returns
Type | Description |
---|---|
ColumnBuilder |