We have updated WebDataRocks EULA, effective as of April 18, 2024. Learn more about what's changed.

How to manage multiple pivot table in same controller in angularjs.

Resolved

Hello Team, 
 I am using angularjs . I have integrated webdatarocks as per your documentation .  
 Now problem is to get the ref of the pivot table . Suppose in onchange I call a custom function where I want to get the report structure json. So I need to get the ref of the current table. 
Please help me

 wbr-report-change="tableOnChange()"

1 answer

WebDataRocks Team WebDataRocks April 16, 2019

Hello,

Thank you for writing to us.
 
Here is an example of how this can be handled by making pivot instances accessible via scope: AngularJS example.

Hope it helps.
Regards,
WebDataRocks Team