Despite the COVID-19 outbreak, our team continues operating at full speed. We are always here to support and answer all your questions.

Feel free to reach out by filling this quick form.

Fill the form
Get Free Trial

programmatical expansion on grid using hierarchy

Answered
Jimmy asked on December 22, 2020

Hello,
I’m having a issue where when I use programmatical expansion on a grid that uses hierarchy in the mapping nothing happens: https://jsfiddle.net/465bwzoy/
Jimmy

3 answers

Public
Illia Yatsyshyn Illia Yatsyshyn Flexmonster December 24, 2020

Hello, Jimmy,
 
Thank you for reaching out to us.
 
The expandData API call serves to expand members of the specific field. When using multilevel hierarchies, you can drill down its levels instead. However, Flexmonster does not support programmatical drill-down of the multilevel hierarchy.
 
Therefore, we suggest predefining drill-downs in advance using the drills property of the Slice object.
To modify drill-downs during the runtime, use the setReport API call. It allows overwriting the applied report, including its slice object.
Another approach is to expand and drill down all fields and hierarchies using the expandAllData method.
 
We hope it helps.
Do not hesitate to contact us in case other questions arise.
 
Regards,
Illia

Public
Jimmy January 4, 2021

Hey Illia,
Is the programmatical drill-down of the multilevel hierarchy, something that is on a todo list or can it be put on a customer wish list? (Using the expandData method)
 
Jimmy

Public
Illia Yatsyshyn Illia Yatsyshyn Flexmonster January 4, 2021

Hello, Jimmy,
 
We have added this request to our customer wish list.
 
However, our roadmap is full at the moment. Therefore, we are not ready to provide you with an exact ETA on this feature.
Our team will notify you in case something is changed on this point.
 
Feel free to contact us if other questions arise.
 
Kind regards,
Illia

Please login or Register to Submit Answer