Angular support for Toolbar reference

Answered

Hi guys,
For the Angular framework integration (“ng-flexmonster”), is there a way to reference the Toolbar instance to call it’s functions from outside the pivot tool? For example, I want to have, say, a button call the ConditionalFormattingHandler that’s attached to the Toolbar instance from within my Angular code. Now, I have an excellent answer from another question here: https://www.flexmonster.com/question/is-there-a-way-to-call-toolbar-methods/?hilite=%22Toolbar%22, but when I try a similar solution using the Angular integration, there is no Toolbar interface or anything defined that I can see. How would I accomplish gaining access to the toolbar instance of my pivot grid using the Angular integration?
Thanks,
Jon

2 answers

Public

Whoops,
Sorry guys, I jumped the gun a bit. I was able to accomplish what I needed to do, but I couldn’t attach it to the existing Pivot instance. Instead, I just stored the reference to an arbitrary variable and called the functions from that. Sorry for any inconvenience!
Thanks,
Jon

Public
Dmytro Zvazhii Flexmonster January 18, 2019

Hello Jon,
We are glad to hear that you have managed to find the solution.
Please let us know in case of any other questions.
Regards,
Dmytro

Please login or Register to Submit Answer