Bring selected and unselected fields from modal
Is there a way to list the selected fields in the modal and the ones that are not? of course with the condition that the Apply button is clicked, because it does not allow me to add an event listener to that specific button to take the values of the fields
1 answer
Hello,
Thank you for reaching out to us.
In case your requirement is to get the list of all hierarchies from the data set, and the ones, chosen for current display, we recommend checking out the following API calls:
getAllHierarchies
method allows retrieving all hierarchies from the data set. More about the method and example of usage can be found in our documentation.getReport
API call returns thereport
object. Thereport
object represents the current configuration of the pivot, including the list of hierarchies and measures chosen to be displayed on the grid. They are listed in theslice
object, which is a property of thereport
. Please refer to our documentation dedicated to theslice
object in order to learn more about its structure and properties. More information about thegetReport
method itself can be found by the link.
If the desired result differs from the described, our team wants to kindly ask you to provide us with detailed information about the required functionality.
We are looking forward to hearing from you.
Kind regards,
WebDataRocks Team