Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
990
Change formula dynamically in wingrid and recalculate each row
posted

Hi!

I have a grid that have a datasource with mulitple columns. Then I add an unbound column with a fomula. It works great when I open the grid.

But I give the user a textbox to change to column's formula at runtime and the values are not updated in the grid after I updated the formula value in the column's properties Formula.

Is there a way to call a refresh of the grid to update the formulas values ?

Best regards,

Benoit

Parents
No Data
Reply
  • 469350
    Offline posted

    Hi Benoit.,

    All Formulas are calculated asynchronously and are further optimized by the grid to calculate the visible rows first.

    So are you saying that the cells in the grid are not updating at all? Or do they update after a pause?

    Are you talking about updating the values on the screen or are you trying to read the cell values in code?

Children