Get Free Trial
Get Free Trial

Angular2+ updateData method wrong typings

Re-Open
Vlad asked on October 2, 2019

Hi, on updateData api page (https://www.flexmonster.com/api/updatedata/)
There is an options object parameter, but when i try to use it in Angular 2+ (ng-flexmonster) it seems that no parameter is defined 
How can I set {partial: true} to update my pivot dataSource? 
setReport method is not applicable for my task

5 answers

Public
Dmytro Zvazhii Flexmonster October 3, 2019

Hello Vlad,
Thank you for writing to us.
It seems that the necessary option is missing in @types/flexmonster package which is used for Angular.
We will update the .d.ts file and publish it in the nearest minor release.
Our team will notify you as soon as it is available.
Regards,
Dmytro

Public
Vlad October 3, 2019

Hello Dmytro,
Thanks for fast reply! Great job!

Public
Vera Didenko Flexmonster October 8, 2019

Hello, Vlad,
 
We are glad to inform you that we have published the updated .d.ts file.
You are welcome to update the component.

Please let us know if everything works fine for you.
 
Best Regards,
Vera

Public
Vera Didenko Flexmonster October 8, 2019

Hello, Vlad,

We would like to add to our previous message that for the update to come into effect, the @types/flexmonster needs to be updated.

Please let us know if everything works for you.

Best Regards,
Vera

Public
Vlad October 9, 2019

Hi, Vera,
All works perfectly.
Great thanks for support team!

Please login or Register to Submit Answer