Contidionally opening Add Dialog on Grid

Greetings!

I'd like to open an Dialog to Add a new item to a Grid, but only if some fields are filled.

How can I change the triggers and events related to it?




Best regards,


1 Reply

JP Jeevakanth Palaniappan Syncfusion Team August 17, 2021 07:32 AM UTC

Hi Consensu, 

Greetings from Syncfusion support. 

We have validated your query and we suspect that you want to Enable/Disable the Add toolbar item based on a condition. You can Enable/Disable the toolbar items by using the EnableToolbarItems method. We suggest you to refer the below documentation link 

Documentation for further reference on Add action: 

Incase if we misunderstood your query then kindly share us the following details, 

  1. Kindly share us the exact scenario of your requirement.
  2. Share us the screenshot/video demo showing the your requirement.

The above requested details will be helpful for us to validate the requirement and to provide you with a better solution as early as possible. 

Regards, 
Jeevakanth SP. 


Loader.
Up arrow icon