menu

ASP.NET MVC - EJ2

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GridEditSettings - ASP.NETMVC-EJ2 API Reference | Syncfusion

    Show / Hide Table of Contents

    Class GridEditSettings

    Inheritance
    System.Object
    Syncfusion.EJ2.EJTagHelper
    GridEditSettings
    Namespace: Syncfusion.EJ2.Grids
    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

    The default value is false

    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

    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, Grid 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 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

    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

    FooterTemplate

    Defines the custom edit elements for the dialog footer template.

    Declaration
    public string FooterTemplate { get; set; }
    Property Value
    Type Description
    System.String

    The default value is null

    HeaderTemplate

    Defines the custom edit elements for the dialog header template.

    Declaration
    public string HeaderTemplate { get; set; }
    Property Value
    Type Description
    System.String

    The default value is null

    Mode

    Defines the mode to edit. The available editing modes are: Normal Dialog Batch

    Declaration
    public EditMode Mode { get; set; }
    Property Value
    Type Description
    EditMode

    The default value is EditMode.Normal

    NewRowPosition

    Defines the position of adding a new row. The available position are: Top Bottom

    Declaration
    public NewRowPosition NewRowPosition { get; set; }
    Property Value
    Type Description
    NewRowPosition

    The default value is NewRowPosition.Top

    ShowAddNewRow

    If showAddNewRow is set to true, it indicates whether to display the add new form by default in the grid.

    Declaration
    public bool ShowAddNewRow { get; set; }
    Property Value
    Type Description
    System.Boolean

    The default value is false

    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 null

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved