Class EditSettings
Gets or sets an object that indicates whether to customize the editing behavior of the grid.
Inherited Members
Namespace: Syncfusion.JavaScript.Models
Assembly: Syncfusion.EJ.dll
Syntax
public class EditSettings : EJTagHelper
Constructors
EditSettings()
Declaration
public EditSettings()
Properties
AllowAdding
Gets or sets a value that indicates whether to enable insert action in the editing mode.
Declaration
[JsonProperty("allowAdding")]
public bool AllowAdding { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
AllowDeleting
Gets or sets a value that indicates whether to enable the delete action in the editing mode.
Declaration
[JsonProperty("allowDeleting")]
public bool AllowDeleting { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
AllowEditing
Gets or sets a value that indicates whether to enable the edit action in the editing mode.
Declaration
[JsonProperty("allowEditing")]
public bool AllowEditing { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
AllowEditOnDblClick
Gets or sets a value that indicates whether to enable the editing action while double click on the record.
Declaration
[JsonProperty("allowEditOnDblClick")]
public bool AllowEditOnDblClick { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
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
Gets or sets a value that indicates whether to define the mode of editing See editMode.
Declaration
[JsonProperty("editMode")]
[JsonConverter(typeof(StringEnumConverter))]
public EditMode EditMode { get; set; }
Property Value
Type | Description |
---|---|
EditMode |
ExternalFormTemplateID
This specifies the id of the template. This template can be used to display the data that you require to be edited using the External edit form.
Declaration
[JsonProperty("externalFormTemplateID")]
public string ExternalFormTemplateID { get; set; }
Property Value
Type | Description |
---|---|
System.String |
FormPosition
This specifies to set the position of an External edit form either in the top-right or bottom-left of the grid.
Declaration
[JsonConverter(typeof(StringEnumConverter))]
[JsonProperty("formPosition")]
public FormPosition FormPosition { get; set; }
Property Value
Type | Description |
---|---|
FormPosition |
InlineFormTemplateID
This specifies the id of the template. This template can be used to display the data that you require to be edited using the Inline edit form.
Declaration
[JsonProperty("inlineFormTemplateID")]
public string InlineFormTemplateID { get; set; }
Property Value
Type | Description |
---|---|
System.String |
RowPosition
This specifies to set the position of an adding new row either in the top or bottom of the grid.
Declaration
[JsonProperty("rowPosition")]
[JsonConverter(typeof(StringEnumConverter))]
public RowPosition RowPosition { get; set; }
Property Value
Type | Description |
---|---|
RowPosition |
ShowAddNewRow
Gets or sets a value that indicates whether to display the add new form by default in the grid.
Declaration
[JsonProperty("showAddNewRow")]
public bool ShowAddNewRow { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
ShowConfirmDialog
Gets or sets a value that indicates whether the confirm dialog has to be shown while saving or discarding the batch changes.
Declaration
[JsonProperty("showConfirmDialog")]
public bool ShowConfirmDialog { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
ShowDeleteConfirmDialog
Gets or sets a value that indicates whether the confirm dialog has to be shown while deleting record.
Declaration
[JsonProperty("showDeleteConfirmDialog")]
public bool ShowDeleteConfirmDialog { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
TitleColumn
Gets or sets a value that indicates whether the title for edit form is different from the primarykey column.
Declaration
[JsonProperty("titleColumn")]
public string TitleColumn { get; set; }
Property Value
Type | Description |
---|---|
System.String |