Class TreeGridToolBarOptionsBuilder
Inheritance
System.Object
TreeGridToolBarOptionsBuilder
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 TreeGridToolBarOptionsBuilder
Constructors
TreeGridToolBarOptionsBuilder(TreeGridToolBarOptions)
Initializes a new instance of the
Declaration
public TreeGridToolBarOptionsBuilder(TreeGridToolBarOptions tools)
Parameters
Type | Name | Description |
---|---|---|
TreeGridToolBarOptions | tools | It displays the list of toolbarSettings option |
Methods
CustomToolbarItems(Action<TreeGridCustomToolbarItemBuilder>)
Gets or sets a value to add the custom items as a toolbar items
Declaration
public TreeGridToolBarOptionsBuilder CustomToolbarItems(Action<TreeGridCustomToolbarItemBuilder> customItems)
Parameters
Type | Name | Description |
---|---|---|
System.Action<TreeGridCustomToolbarItemBuilder> | customItems | It accepts the list of custom toolbar Items through lambda expression |
Returns
Type | Description |
---|---|
TreeGridToolBarOptionsBuilder | TreeGridToolBarOptionsBuilder |
CustomToolbarItems(List<TreeGridCustomToolbarItem>)
Gets or sets a value to add the custom items as a toolbar items
Declaration
public TreeGridToolBarOptionsBuilder CustomToolbarItems(List<TreeGridCustomToolbarItem> customItems)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.List<TreeGridCustomToolbarItem> | customItems | It displays list of custom toolbar items |
Returns
Type | Description |
---|---|
TreeGridToolBarOptionsBuilder | TreeGridToolBarOptionsBuilder |
ShowToolbar()
It sets a value to enable toolbar in the tree grid.
Declaration
public TreeGridToolBarOptionsBuilder ShowToolbar()
Returns
Type | Description |
---|---|
TreeGridToolBarOptionsBuilder | TreeGridToolBarOptionsBuilder |
ShowToolbar(Boolean)
It sets a value to enable toolbar in the tree grid.
Declaration
public TreeGridToolBarOptionsBuilder ShowToolbar(bool ShowToolbar)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | ShowToolbar | It accepts a boolean value to enable toolbar in the tree grid. |
Returns
Type | Description |
---|---|
TreeGridToolBarOptionsBuilder | TreeGridToolBarOptionsBuilder |
ToolbarItems(List<TreeGridToolBarItems>)
Gets or sets a value to add the default editing actions as a toolbar items
Declaration
public TreeGridToolBarOptionsBuilder ToolbarItems(List<TreeGridToolBarItems> defaultItems)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.List<TreeGridToolBarItems> | defaultItems | It displays list of default toolbar items |
Returns
Type | Description |
---|---|
TreeGridToolBarOptionsBuilder | TreeGridToolBarOptionsBuilder |