Class TreeGridEditSettings
Inheritance
System.Object
TreeGridEditSettings
Assembly: Syncfusion.EJ2.dll
Syntax
public class TreeGridEditSettings : EJTagHelper
Constructors
TreeGridEditSettings()
Declaration
public TreeGridEditSettings()
Properties
AllowAdding
If allowAdding
is set to true, new records can be added to the TreeGrid.
Declaration
public bool AllowAdding { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
AllowDeleting
If allowDeleting
is set to true, existing record can be deleted from the TreeGrid.
Declaration
public bool AllowDeleting { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
AllowEditing
If allowEditing
is set to true, values can be updated in the existing record.
Declaration
public bool AllowEditing { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
AllowEditOnDblClick
If allowEditOnDblClick
is set to false, TreeGrid will not allow editing of a record on double click.
Declaration
public bool AllowEditOnDblClick { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
ContentTemplate
To get or set value for ContentTemplate.
Declaration
public MvcTemplate<object> ContentTemplate { get; set; }
Property Value
Dialog
Defines the dialog params to edit.
Declaration
public object Dialog { get; set; }
Property Value
Type |
Description |
System.Object |
|
IsComplex
Declaration
protected override bool IsComplex { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
Mode
Defines the mode to edit. The available editing modes are:
Cell
Row
Dialog
Batch
Declaration
public EditMode Mode { get; set; }
Property Value
NewRowPosition
Defines the row position for new records. The available row positions are:
Top
Bottom
Above
Below
Child
{% codeBlock src='treegrid/newRowPosition/index.md' %}{% endcodeBlock %}
Declaration
public RowPosition NewRowPosition { get; set; }
Property Value
ParentPropertyName
Declaration
protected override string ParentPropertyName { get; }
Property Value
Type |
Description |
System.String |
|
Overrides
ShowConfirmDialog
if showConfirmDialog
is set to false, confirm dialog does not show when batch changes are saved or discarded.
Declaration
public bool ShowConfirmDialog { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
ShowDeleteConfirmDialog
If showDeleteConfirmDialog
is set to true, confirm dialog will show delete action. You can also cancel delete command.
Declaration
public bool ShowDeleteConfirmDialog { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Template
Defines the custom edit elements for the dialog template.
Declaration
public string Template { get; set; }
Property Value
Type |
Description |
System.String |
|