We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Grid Edit in Model

Thread ID:





144775 May 22,2019 04:05 AM UTC May 24,2019 10:14 AM UTC Blazor 3
Tags: Grid
Asked On May 22, 2019 04:05 AM UTC

how to set edit mode as dialog in Grid editsettings


Pavithra Subramaniyam [Syncfusion]
Replied On May 22, 2019 12:21 PM UTC

Hi Vijay, 
Greetings from Syncfusion. 
You can set dialog editing by setting the Mode property of Grid EditSettings as “Dialog”. Please refer the below code snippet and sample link for more information. 
<EjsGrid id="Grid" DataSource="@gridData" Toolbar="@(new List<string>() { "Add", "Edit", "Delete", "Update", "Cancel" })" AllowPaging="true"> 
    <GridPageSettings PageSize="5"></GridPageSettings> 
    <GridEditSettings AllowAdding="true" AllowDeleting="true" AllowEditing="true" Mode="@EditMode.Dialog"></GridEditSettings> 
        <GridColumn Field=@nameof(OrdersDetails.OrderID) HeaderText="Order ID" IsPrimaryKey="true" TextAlign="@TextAlign.Right" Width="120"></GridColumn> 
         .  .  .  .         
@functions { 
    public object gridData { get; set; } 
    protected override void OnInit() 
        gridData = OrdersDetails.GetAllRecords(); 
Please get back to us for further assistance. 
Pavithra S. 

Replied On May 24, 2019 03:11 AM UTC

Great. Thank you

Pavithra Subramaniyam [Syncfusion]
Replied On May 24, 2019 10:14 AM UTC

Hi Vijay,  
Thanks for your update. 
Please contact us if you need any further assistance. As always, we will be happy to assist you.  
Pavithra S. 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon