Custom Editable Dialog box for Sfgrid

Hi,

I have a requirement that each row in Sfgrid will have a e-edit & e-trash imgae which will serve as edit and delete buttons.

On click of edit image/pencil image we want to open the edit dialog box.

I have configured a custom template for edit dialog box. Is there any event which I can trigger to open the dialog box on click of this image from my code?


Thanks


1 Reply

MS Monisha Saravanan Syncfusion Team March 29, 2022 10:58 AM UTC

Hi Ramnani,


Greetings from Syncfusion support.


We have analyzed your shared query and we suspect that you need to perform editing from columns using buttons. In DataGrid we have inbuilt support for command column editing. Also we can handle our custom operations using custom command column  Kindly refer the attached UG for your reference.


Reference: https://blazor.syncfusion.com/documentation/datagrid/command-column-editing

https://blazor.syncfusion.com/documentation/datagrid/command-column-editing#custom-command-column

https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Grids.GridEvents-1.html?&_ga=2.14651959.1818167277.1648438595-1234523538.1646292972#Syncfusion_Blazor_Grids_GridEvents_1_CommandClicked


Other reference: https://blazor.syncfusion.com/documentation/datagrid/dialog-editing

https://blazor.syncfusion.com/documentation/datagrid/template-editing#dialog-template


Kindly get back to us if you have further queries.


Regards,

Monisha


Loader.
Up arrow icon