Hide controls from grid edit dialog when cell AllowEditing=false

Is there a way to remove or hide the controls from the edit dialog if the properties are set as AllowEditing=false?

I've tried to target in the css file the elements using .e-disabled { visibility: hidden } but I didn't have any luck.  We can't simply recreate the edit dialog template since much of it is dynamic already.

Thanks,

-jv


1 Reply

RS Renjith Singh Rajendran Syncfusion Team July 22, 2022 06:16 AM UTC

Hi Jeff,


Greetings from Syncfusion support.


Based on this requirement to customize the grid edit form dialog, we suggest you to use the Dialog Template feature of grid. Using this feature, you can customize the contents you need to display in the add/edit dialog of grid. Please refer the below references for more details.

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

https://blazor.syncfusion.com/demos/datagrid/grid-dialog-template?theme=fluent


Please get back to us if you need further assistance.


Regards,

Renjith R



Loader.
Up arrow icon