Blazor Grid - Use an External Popup as an Edit Form
February 24, 2026 ยท View on GitHub
This example uses a DevExpress Blazor Popup as a custom edit form for the DevExpress Blazor Grid component. In this example, the edit form is resizable/draggable, and does not close on Escape.

Implementation Details
- Add a
DxPopupcomponent and populate it with required edit form content. This example uses DxFormLayout to arrange editors and an EditForm to validate user input. - Add a command column to your Grid markup.
- Use HeaderTemplate and CellDisplayTemplate to add custom New and Edit buttons.
- Implement a method that creates an edit model for a new or existing record (
ShowPopupin our implementation). - When a user submits the form and validation is successful (EditForm.OnValidSubmit), update the data source. Create a new record, if necessary, and post new values.
Files to Review
Documentation
More Examples
- Grid for Blazor - How to edit a row on a separate page
- Grid for Blazor - Create a custom record deletion confirmation dialog
Does This Example Address Your Development Requirements/Objectives?
(you will be redirected to DevExpress.com to submit your response)