Class GridEditSettings
Inheritance
System.Object
GridEditSettings
Assembly: Syncfusion.EJ2.dll
Syntax
public class GridEditSettings : EJTagHelper
Constructors
GridEditSettings()
Declaration
public GridEditSettings()
Properties
AllowAdding
If allowAdding
is set to true, new records can be added to the Grid.
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 Grid.
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, Grid will not allow editing of a record on double click.
Declaration
public bool AllowEditOnDblClick { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
AllowNextRowEdit
If allowNextRowEdit is set to true, editing is done to next row. By default allowNextRowEdit is set to false.
Declaration
public bool AllowNextRowEdit { 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:
Normal
Dialog
Batch
Declaration
public EditMode Mode { get; set; }
Property Value
NewRowPosition
Defines the position of adding a new row. The available position are:
Top
Bottom
Declaration
public NewRowPosition 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 |
|