Back to forum

Bring selected and unselected fields from modal

Answered

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

WebDataRocks Team WebDataRocks May 11, 2020

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 the report object. The report 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 the slice object, which is a property of the report. Please refer to our documentation dedicated to the slice object in order to learn more about its structure and properties. More information about the getReport 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

Move up