Add a grid to ejdialog

Hello, it is possible add a grid to ejdialog?

I try add grid with different id example dialog1 #Grid-1, dialog 2  #Grid-2,... Dialog 100 #Grid-100,...

It is possible, I add a grid on modals.

devgrid.PNG


1 Reply

KP Kokila Poovendran Syncfusion Team July 22, 2023 05:17 AM UTC

Hi Arturo,


Thank you for reaching out to us with your query about adding a grid to EJDialog. To achieve your requirement, we have prepared a sample for you. You can utilize the dialog content template property to add a grid within the dialog. In this example, we've created three buttons, each of which renders the dialog with different IDs and different grid data sources.


We've also included documentation links that you can refer to for further clarification:


Dialog template: https://ej2.syncfusion.com/aspnetcore/documentation/dialog/template


Grid template: https://ej2.syncfusion.com/aspnetcore/documentation/grid/row/row-template


Attachment: ASPCoreSamples_c428acdd.zip


Loader.
Up arrow icon