I am using a grid that populates with data and using a custom command column to bring up a dialog that contains fields that can be edited (that do not exist in the grid as columns). I have a save button on the dialog that saves the changes back to the database but the grid does not refresh. I have referenced the post below in my code that should trigger a refresh manually by invoking a grid method but this does not work. Is there a workaround?
Greetings from Syncfusion support.
From your query, we prepared sample based on your requirement using command column to refresh the grid by using Refresh method. Refer the attached sample for your reference. If we misunderstood your query, kindly share the simple issue reproducible sample or reproduce the reported issue in the provided sample. It’ll will be very helpful for us to validate the reported query at our end and provide the solution as early as possible.
Unfortunately this sample does not apply for my setup.
In my OnCommandClicked event I have to set to trigger the visibility of an SfDialog box that then pops up with different values that can be updated. Upon clicking the save button on the dialog, it saves the changes back to the database and closes the dialog box. I have tried implementing the refresh method in the same method that closes the dialog box and that does not trigger any update.
Thank you for your update. Based on your request, we have prepared a sample to demonstrate how to display a dialog box on the OnCommandClick event by triggering the visibility of the dialog pop-up. Please find the attached sample for your reference.
If you have any additional questions or concerns, please do not hesitate to reach out to us.