Class TreeGridStackedHeaderColumnBuilder
Inheritance
Inherited Members
Namespace: Syncfusion.JavaScript
Assembly: Syncfusion.EJ.dll
Syntax
public class TreeGridStackedHeaderColumnBuilder
Constructors
TreeGridStackedHeaderColumnBuilder(TreeGridStackedHeaderRow)
Initializes a new instance of the StackedHeaderColumnBuilder<T> class.
Declaration
public TreeGridStackedHeaderColumnBuilder(TreeGridStackedHeaderRow stackedHeaderRow)
Parameters
Type | Name | Description |
---|---|---|
TreeGridStackedHeaderRow | stackedHeaderRow | It displays the list of StackedHeaderRows |
Methods
Add()
Adds the Stacked Headercolumns into stackedHeader Row.
Declaration
public void Add()
Column(Action<TreeGridStackedColumnBuilder>)
It sets a value that indicates the header text for the particular stacked header column.
Declaration
public TreeGridStackedHeaderColumnBuilder Column(Action<TreeGridStackedColumnBuilder> column)
Parameters
Type | Name | Description |
---|---|---|
System.Action<TreeGridStackedColumnBuilder> | column | It accepts the list of string value and displays the column as stackedheader column through lambda expression |
Returns
Type | Description |
---|---|
TreeGridStackedHeaderColumnBuilder | StackedHeaderColumnBuilder |
Column(List<String>)
It sets a value that indicates the header text for the particular stacked header column.
Declaration
public TreeGridStackedHeaderColumnBuilder Column(List<string> column)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.List<System.String> | column | It accepts the list of string value and displays the column as stackedheader column |
Returns
Type | Description |
---|---|
TreeGridStackedHeaderColumnBuilder | StackedHeaderColumnBuilder |
CssClass(String)
It sets a value that indicates class to the corresponding stackedHeaderColumn.
Declaration
public TreeGridStackedHeaderColumnBuilder CssClass(string cssclass)
Parameters
Type | Name | Description |
---|---|---|
System.String | cssclass | It accepts the string value and displays the Css class for stackedheader column |
Returns
Type | Description |
---|---|
TreeGridStackedHeaderColumnBuilder | StackedHeaderColumnBuilder |
HeaderText(String)
It sets a value that indicates the header text for the particular stacked header column.
Declaration
public TreeGridStackedHeaderColumnBuilder HeaderText(string stackedHeaderText)
Parameters
Type | Name | Description |
---|---|---|
System.String | stackedHeaderText | It accepts the string value and displays the headertext of stackedheader column |
Returns
Type | Description |
---|---|
TreeGridStackedHeaderColumnBuilder | StackedHeaderColumnBuilder |
TextAlign(TextAlign)
It sets a value that indicates the text alignment of the corresponding headerText.
Declaration
public TreeGridStackedHeaderColumnBuilder TextAlign(TextAlign textAlign)
Parameters
Type | Name | Description |
---|---|---|
TextAlign | textAlign | It displays the list of TextAlign values |
Returns
Type | Description |
---|---|
TreeGridStackedHeaderColumnBuilder | StackedHeaderColumnBuilder |
TextAlign(TextAlign)
It sets a value that indicates to align the text within the column.
Declaration
public TreeGridStackedHeaderColumnBuilder TextAlign(TextAlign textAlign)
Parameters
Type | Name | Description |
---|---|---|
System.Web.UI.WebControls.TextAlign | textAlign | It displays the list of TextAlign values in Webcontrols |
Returns
Type | Description |
---|---|
TreeGridStackedHeaderColumnBuilder | StackedHeaderColumnBuilder |
Tooltip(String)
Sets the template for Tooltip in Grid Columns(both header and content)
Declaration
public TreeGridStackedHeaderColumnBuilder Tooltip(string tooltip)
Parameters
Type | Name | Description |
---|---|---|
System.String | tooltip | It accepts the string value and displays the tooltip for stackedHeaderColumns |
Returns
Type | Description |
---|---|
TreeGridStackedHeaderColumnBuilder | StackedHeaderColumnBuilder |