We have updated Flexmonster Software License Agreement, effective as of September 30, 2024. Learn more about what’s changed.

How to expand specific members?

Answered
Ashley Murphy asked on August 16, 2016

Hey,
 
Previously using the XML config format we were using the following snippet to expand rows on specific values
<tuple><![CDATA[[powersource].[powersource].[Petrol]]]></tuple>
 
What is the equivalent when using the new-er JSON report configuration? I only want to expand this, not all of them.
 
Thanks!
Ashley

3 answers

Public
Iryna Kulchytska Iryna Kulchytska Flexmonster August 16, 2016

Hi Ashley,
 
Right now there is an issue with the restoration of expanded members from the JSON report configuration. It will be fixed in the next minor release 2.220 (ETA - Aug 29). I will post a jsfiddle sample here to show you how to set the analogue of <tuple><![CDATA[[powersource].[powersource].[Petrol]]]></tuple> in JSON.
 
Please let me know if this works for you.
 
Kind regards,
Iryna

Public
Iryna Kulchytska Iryna Kulchytska Flexmonster August 29, 2016

Hi Ashley,
 
The minor release 2.220 is available for download now. The restoration of expanded members from the JSON report configuration works fine in 2.220. Please follow the steps in the documentation http://www.flexmonster.com/doc/updating-to-the-latest-version/ to update your component to the latest version.
 
Here is a jsfiddle sample that shows how to use expandedRows/expandedColumns in JSON: https://jsfiddle.net/irynakulchytska/d1sc9dLr/
 
Please let me know if this works for you.
 
Kind regards,
Iryna

Public
Tanya Gryshko Tanya Gryshko Flexmonster December 7, 2016

Hello Ashley and all Flexmonster users,
After the release of version 2.3, we would like to provide you with the updated sample: https://jsfiddle.net/flexmonster/6qr4q7sg/.
Regards,
Tanya

Please login or Register to Submit Answer