Class TreeViewFieldsSettingsBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
TreeViewFieldsSettingsBuilder
Assembly: Syncfusion.EJ2.dll
Syntax
public class TreeViewFieldsSettingsBuilder : ControlBuilder
Constructors
TreeViewFieldsSettingsBuilder()
Declaration
public TreeViewFieldsSettingsBuilder()
TreeViewFieldsSettingsBuilder(TreeViewFieldsSettings)
Declaration
public TreeViewFieldsSettingsBuilder(TreeViewFieldsSettings model)
Parameters
Methods
Child(TreeViewFieldsSettings)
Binds the field settings for child nodes or mapping field for nested nodes objects that contain array of JSON objects.
Declaration
public TreeViewFieldsSettingsBuilder Child(TreeViewFieldsSettings value)
Parameters
Returns
Child(Action<TreeViewFieldsSettingsBuilder>)
Declaration
public TreeViewFieldsSettingsBuilder Child(Action<TreeViewFieldsSettingsBuilder> child)
Parameters
Returns
Child(Object)
Binds the field settings for child nodes or mapping field for nested nodes objects that contain array of JSON objects.
Declaration
public TreeViewFieldsSettingsBuilder Child(object value)
Parameters
Type |
Name |
Description |
System.Object |
value |
|
Returns
Child(String)
Binds the field settings for child nodes or mapping field for nested nodes objects that contain array of JSON objects.
Declaration
public TreeViewFieldsSettingsBuilder Child(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
DataSource(Action<DataManagerBuilder>)
Declaration
public TreeViewFieldsSettingsBuilder DataSource(Action<DataManagerBuilder> dataSource)
Parameters
Type |
Name |
Description |
System.Action<Syncfusion.EJ2.DataManagerBuilder> |
dataSource |
|
Returns
DataSource(Object)
Specifies the array of JavaScript objects or instance of DataManager to populate the nodes.
Declaration
public TreeViewFieldsSettingsBuilder DataSource(object value)
Parameters
Type |
Name |
Description |
System.Object |
value |
|
Returns
Expanded(String)
Specifies the mapping field for expand state of the TreeView node.
Declaration
public TreeViewFieldsSettingsBuilder Expanded(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
HasChildren(String)
Specifies the mapping field for hasChildren to check whether a node has child nodes or not.
Declaration
public TreeViewFieldsSettingsBuilder HasChildren(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
HtmlAttributes(String)
Specifies the mapping field for htmlAttributes to be added to the TreeView node.
Declaration
public TreeViewFieldsSettingsBuilder HtmlAttributes(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
IconCss(String)
Specifies the mapping field for icon class of each TreeView node that will be added before the text.
Declaration
public TreeViewFieldsSettingsBuilder IconCss(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
Id(String)
Specifies the ID field mapped in dataSource.
Declaration
public TreeViewFieldsSettingsBuilder Id(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
ImageUrl(String)
Specifies the mapping field for image URL of each TreeView node where image will be added before the text.
Declaration
public TreeViewFieldsSettingsBuilder ImageUrl(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
IsChecked(String)
Specifies the field for checked state of the TreeView node.
Declaration
public TreeViewFieldsSettingsBuilder IsChecked(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
NavigateUrl(String)
Specifies the mapping field for navigateUrl to be added as hyper-link of the TreeView node.
Declaration
public TreeViewFieldsSettingsBuilder NavigateUrl(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
ParentID(String)
Specifies the parent ID field mapped in dataSource.
Declaration
public TreeViewFieldsSettingsBuilder ParentID(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
Query(String)
Defines the external Query
that will execute along with data processing.
Declaration
public TreeViewFieldsSettingsBuilder Query(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
Selectable(String)
Specifies whether the node can be selected by users or not
When set to false, the user interaction is prevented for the corresponding node.
Declaration
public TreeViewFieldsSettingsBuilder Selectable(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
Selected(String)
Specifies the mapping field for selected state of the TreeView node.
Declaration
public TreeViewFieldsSettingsBuilder Selected(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
TableName(String)
Specifies the table name used to fetch data from a specific table in the server.
Declaration
public TreeViewFieldsSettingsBuilder TableName(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
Text(String)
Specifies the mapping field for text displayed as TreeView node's display text.
Declaration
public TreeViewFieldsSettingsBuilder Text(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
Specifies the mapping field for tooltip that will be displayed as hovering text of the TreeView node.
Declaration
public TreeViewFieldsSettingsBuilder Tooltip(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns