Need a special offer?Find out if your project fits.
+

showGrandTotals on or off dinamically

Answered
Fabrizio asked on September 28, 2023

Hi,
can I turn on or off the showGrandTotals in option-grid dinamically for example from an external button?
 
Thanks

3 answers

Public
Nadia Khodakivska Nadia Khodakivska Flexmonster September 29, 2023

Hello,

Thank you for contacting us.

You can use the setOptions API call to turn on or off the grand totals. For example:

var options = flexmonster.getOptions();
options.grid.showTotals = "off";
flexmonster.setOptions(options);
flexmonster.refresh();

You can find more information in our documentation: https://www.flexmonster.com/api/setoptions/ 

Please let us know if it works for you. Looking forward to hearing from you.

Kind regards,
Nadia

Public
Fabrizio October 5, 2023

I apologize for the ticket because I might have been able to find this API on my own.
Sorry again
It's work
 

Public
Nadia Khodakivska Nadia Khodakivska Flexmonster October 6, 2023

Hello,

Thank you for the response.

No worries, we are always here to help! Our team is glad to hear that it works for you.

Let us know if you need any further assistance.

Kind regards,
Nadia

Please login or Register to Submit Answer