Class TreeGridCommandsBuilder
Inheritance
System.Object
TreeGridCommandsBuilder
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
Assembly: Syncfusion.EJ.dll
Syntax
public class TreeGridCommandsBuilder
Constructors
TreeGridCommandsBuilder(TreeGridColumn, List<TreeGridCommands>)
Initializes a new instance of the
Declaration
public TreeGridCommandsBuilder(TreeGridColumn treeColumn, List<TreeGridCommands> commands)
Parameters
| Type | Name | Description |
|---|---|---|
| TreeGridColumn | treeColumn | |
| System.Collections.Generic.List<TreeGridCommands> | commands |
Methods
Add()
It adds the command column into the columns.
Declaration
public void Add()
ButtonOptions(ButtonProperties)
It sets an object that indicates to define all the button options which are available in ejButton.
Declaration
public TreeGridCommandsBuilder ButtonOptions(ButtonProperties button)
Parameters
| Type | Name | Description |
|---|---|---|
| ButtonProperties | button | It displays all button options in Button |
Returns
| Type | Description |
|---|---|
| TreeGridCommandsBuilder | TreeGridCommandsBuilder |
Type(TreeGridUnboundType)
It sets a value that indicates to add the command column button.
Declaration
public TreeGridCommandsBuilder Type(TreeGridUnboundType type)
Parameters
| Type | Name | Description |
|---|---|---|
| TreeGridUnboundType | type | It displays the list of UnboundType options |
Returns
| Type | Description |
|---|---|
| TreeGridCommandsBuilder | TreeGridCommandsBuilder |
Type(String)
It sets a value that indicates to add the command column button.
Declaration
public TreeGridCommandsBuilder Type(string type)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | type | It accepts the string value and displays the list of UnboundType options |
Returns
| Type | Description |
|---|---|
| TreeGridCommandsBuilder | TreeGridCommandsBuilder |