Class TreeGridEditOptions
Options for enabling and configuring the editing related operations.
Inherited Members
Namespace: Syncfusion.JavaScript.Models
Assembly: Syncfusion.EJ.dll
Syntax
public class TreeGridEditOptions : EJTagHelper
Constructors
TreeGridEditOptions()
Declaration
public TreeGridEditOptions()
Properties
AllowAdding
Enables or disables the button to add new row in context menu as well as in toolbar.
Declaration
[JsonProperty("allowAdding")]
public bool AllowAdding { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
AllowDeleting
Enables or disables the button to delete the selected row in context menu as well as in toolbar.
Declaration
[JsonProperty("allowDeleting")]
public bool AllowDeleting { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
AllowEditing
Enables or disables the ability to edit a row or cell.
Declaration
[JsonProperty("allowEditing")]
public bool AllowEditing { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
BatchEditSettings
Specifies the batch edit settings of TreeGrid
Declaration
[JsonProperty("batchEditSettings")]
public TreeGridBatchEditOptions BatchEditSettings { get; set; }
Property Value
Type | Description |
---|---|
TreeGridBatchEditOptions |
BeginEditAction
specifies the edit action in treegrid , whether editing on single mouse click or double mouse click.
Declaration
[JsonProperty("beginEditAction")]
[JsonConverter(typeof(StringEnumConverter))]
public TreeGridBeginEditAction BeginEditAction { get; set; }
Property Value
Type | Description |
---|---|
TreeGridBeginEditAction |
DialogEditorTemplateID
This specifies the id of the template. This template can be used to display the data that you require to be edited using the Dialog Box.
Declaration
[JsonProperty("dialogEditorTemplateID")]
public string DialogEditorTemplateID { get; set; }
Property Value
Type | Description |
---|---|
System.String |
EditMode
specifies the editmode in treegrid , “cellEditing” is for cell type editing and “rowEditing” is for entire row.
Declaration
[JsonProperty("editMode")]
[JsonConverter(typeof(StringEnumConverter))]
public TreeGridEditMode EditMode { get; set; }
Property Value
Type | Description |
---|---|
TreeGridEditMode |
RowPosition
Specifies the position where the new row has to be added.
Declaration
[JsonConverter(typeof(StringEnumConverter))]
[JsonProperty("rowPosition")]
public TreeGridRowPosition RowPosition { get; set; }
Property Value
Type | Description |
---|---|
TreeGridRowPosition |
ShowDeleteConfirmDialog
Enables or disables the delete confirmation dialog.
Declaration
[JsonProperty("showDeleteConfirmDialog")]
public bool ShowDeleteConfirmDialog { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |