Query |
Response | |
How can we access reference of the pivotViewComponent in parent component, And how can i get the report of the pivotview in parent component with that reference. So That I can save it in backend. |
You can access the pivot table component from parent component using “ref”. Meanwhile we have prepared a sample for your reference. In the below sample pivot table component can be accessed by “this.pivotRef”.
| |
How can we load the reports in dropdown without calling fetch report, because we need to add a report to dropdown once we store the new report in the database instead of saving in a local storage. |
Based on your requirement we have prepared a sample to load the report from drop down list once report saved. You can save the current report using getPersistData() method. And you can load the report using loadPersistData() method.
| |
How can i load the new data in a pivot component from parent component. |
You can load the new data source using pivot table component instance (this.pivotRef) |