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

i customize my Pivot Grid option drag drop column positions. now i want when i refresh page then all Column setting goes.

Answered
Faizan Hamz asked on October 28, 2020

i customize my Pivot Grid option drag drop column positions. now i want when i refresh page then all Column setting goes. Is it any option or feature and save my report .
when i come on that report then see all columns positions on Report.

4 answers

Public
Faizan Hamz October 28, 2020

Any updation ?

Public
Milena Pechura Milena Pechura Flexmonster November 3, 2020

Hello, Faizan,
 
Thank you for posting to our forum.
 
To configure the report and see the same config after the page refresh, we suggest using the localStorage or sessionStorage property of the DOM Window.
 
Firstly, use the reportchange event handler to save the new report in the storage every time column positions are modified. Secondly, specify the report object of the component as an item from the storage.
 
We have prepared an example for illustration: https://jsfiddle.net/flexmonster/2ft73uqw/.
 
Please let us know if it helps.
 
Best regards,
Milena

Public
Milena Pechura Milena Pechura Flexmonster November 11, 2020

Hi, Faizan,
 
How are you?
 
We are just checking in to ask whether the suggested approach works for you.
 
Our team will be glad to hear your feedback.
 
Kind regards,
Milena

Public
Milena Pechura Milena Pechura Flexmonster November 18, 2020

Hello, Faizan,
 
Hope you are doing well.
 
We were wondering whether the recommended solution helps.
Could you please let us know if you have managed to achieve the desired component behavior?
 
Looking forward to hearing from you.
 
Best regards,
Milena

Please login or Register to Submit Answer