How do i set pivot table instances property


Hello, Dear WDR
I have a question how do i set pivot.container selector and get wdr-toolbar get set,
My problem is i need more pivots so i create multiple instances create an array loop through screen then my pivots are need diffrent DOM selectors then i have create global unique identifier append  something like #wdr-toolbar + guid how to get #wdr-toolbar 
excuse my poor english

1 answer

WebDataRocks Team WebDataRocks January 9, 2020

Thank you for your question.
When a new instance of WebDataRocks is created, you obtain its reference that allows modifying the state of the component through the provided API.
We would like to kindly draw your attention to the fact that the size of the component has to be specified in advance, as well as the presence of the Toolbar.
However, in case changing such options is required, we recommend using the following workarounds:

  • In order to add or remove the Toolbar after the component is created, we recommend hiding it using CSS.
  • In order to change the size of the component, its container can be placed inside the resizable wrapper. Please note that the size of the container itself has to be specified in percents.

We hope it works for you.
Kind regards,
WebDataRocks Team