We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Formulas updated Dynamcially

Hello all,

Can formulas be set from the model or runtime?  

Any examples?

1 Reply

SP Sangeetha Priya Murugan Syncfusion Team December 9, 2022 09:49 AM UTC

Hi Stephan,

You can update the formula in the cell by using the updateCell method, or you can bind the formula in the cellModel, as we demonstrated in our demo site.



Code Block:

 Spreadsheet.updateCell({ formula: '=SUM(1,2)' }, "A3");

Please check the above details and get back to us if you need any further assistance on this.

Live Chat Icon For mobile
Up arrow icon