Back to forum

custom toolbar button handler to update data from Angular 4

Resolved

How to use API from Angular 4 from custom toolbar button handler to update report Json data

1 answer

WebDataRocks Team WebDataRocks November 7, 2018

Hello Shrikant,
Thank you for writing. Please find the recommended steps here:

  1. First of all, you need to integrate WebDataRocks with the Angular. Please refer to the following guile line: https://www.webdatarocks.com/doc/integration-with-angular/
  2. Then, to add a custom button to the toolbar, you can refer to the following thread: https://www.webdatarocks.com/question/adding-custom-tab-to-toolbar/
  3. To implement button’s behavior you can use updateData API call: https://www.webdatarocks.com/doc/updatedata/. You can also try setReport() if your case requires resetting all the configuration.

Please let us know in case of any other question.
Regards,
WebDataRocks Team

Move up