Get Free Trial

programmatical expansion on grid using hierarchy

Jimmy asked on December 22, 2020

I’m having a issue where when I use programmatical expansion on a grid that uses hierarchy in the mapping nothing happens:

3 answers

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.

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)

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,

Please login or Register to Submit Answer