Class TreeGridEditSettings
Inheritance
Namespace: Syncfusion.EJ2.TreeGrid
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 | The default value is false |
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 | The default value is false |
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 | The default value is false |
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 | The default value is true |
AllowNextRowEdit
If allowNextRowEdit
is set as true, editing is continued to next row with keyboard navigation.
Declaration
public bool AllowNextRowEdit { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is false |
ContentTemplate
To get or set value for ContentTemplate.
Declaration
public MvcTemplate<object> ContentTemplate { get; set; }
Property Value
Type |
---|
Syncfusion.EJ2.MvcTemplate<System.Object> |
Dialog
Defines the dialog params to edit.
Declaration
public object Dialog { get; set; }
Property Value
Type | Description |
---|---|
System.Object | The default value is null |
Mode
Defines the mode to edit. The available editing modes are:
Declaration
public EditMode Mode { get; set; }
Property Value
Type | Description |
---|---|
EditMode | The default value is EditMode.Cell |
NewRowPosition
Defines the row position for new records. The available row positions are:
Declaration
public RowPosition NewRowPosition { get; set; }
Property Value
Type | Description |
---|---|
RowPosition | The default value is RowPosition.Top |
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 | The default value is true |
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 | The default value is false |
Template
Defines the custom edit elements for the dialog template.
Declaration
public string Template { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is "" |