Sample Broken Dialog editing in Angular Grid component

The following sample is broken in 25.1.40

Dialog editing in Angular Grid component | Syncfusion

The referenced  Syncfusion-content - Ej2 Angular Docs - StackBlitz project does not work as expected. f the call to dialogInstance.refresh() is done then the Form does not load anymore


without .refresh()with .refresh()
Form Content will loadForm Content will not load
Image_9140_1713521850110
Image_9687_1713521684583


As of now 25.1.40 dialog.refresh is not needed anymore if you set dialog.buttons to a new array.

My old behavior: 

args.dialog.buttons.unshift(customButton);
args.dialog.refresh();

does not work anymore I have to do 

args.dialog.buttons = [cancelButton, ...args.dialog.buttons];

1 Reply 1 reply marked as answer

JS Johnson Soundararajan S Syncfusion Team April 29, 2024 11:01 AM UTC

Hi Michael Mairegger,


We apologize for the inconvenience caused.


We were able to replicate the reported issues in the "Customize add/edit dialog footer" stackblitz sample from the Documentation and we have internally logged task (“Need to update the Documentation Stackblitz samples”) and it will be updated online as soon as possible. 


For now, you can find the working samples of the demos linked below :


Stackblitz sample : Syncfusion-content - Ej2 Angular Docs - StackBlitz


Please get back to us, if you need further assistance.


Regards,

Johnson Soundararajan S


Marked as answer
Loader.
Up arrow icon