Copy Formula programmatically

In webix spreadsheet, I can copy a formula in a cell with reference to other cells, and then I pasted the formula to a new cell, the system will change the cell reference automatically in the new cell. How can I do the same programmatically?

Comments

  • edited August 8

    Hey @robertwong68, the way you could do this is by mimicking the current behaviour from within the inner logic of the widget. Basically, you have to write your own custom method to update the formulas.

    Here is a working sample implementing a custom updateMath function: https://snippet.webix.com/kehovny3.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion