How to keep column field width same through out session

Posted by: aniket.bhavsar on 12 February 2018, 7:08 am EST

    • Post Options:
    • Link

    Posted 12 February 2018, 7:08 am EST

    Hello Team,

    Here i attached Win-rar file. Which contain 4 picture. ( http://jsfiddle.net/x19v8v5v/ )

    Picture 1:- I created simple pivot grid checked all attributes.

    Picture 2:- In this picture i resize ( increase size of column Downloads )

    Picture 3:- After that unchecked in Downloads columns.

    Picture 4:- When i checked Downloads if i see width which is on original size.

    So i Want to know how i keep width consistent through out session ? Please let me know need more information.

    Plunker:- http://jsfiddle.net/x19v8v5v/

    Appreciate

  • Posted 12 February 2018, 7:24 am EST

    There isn’t a direct way to accomplish this. You will have to save the Column Width in the local storage and again re-set it when the Grid is updated again. Please refer to the sample on this post

    https://www.grapecity.com/en/forums/wijmo/olap-grid--doesn039t-prese

  • Posted 12 February 2018, 7:24 am EST

    Image 1

    image 2

    image 3

    image 4

  • Posted 12 February 2018, 7:27 am EST

    Thanks for super quick response,

    https://www.grapecity.com/en/forums/wijmo/olap-grid--doesn039t-prese

    dose not work. Can you please send again ?

  • Posted 12 February 2018, 8:25 am EST

    Can you please suggest any other option rather than local storage ??. because i don’t think so it is good option ?

  • Posted 12 February 2018, 11:08 pm EST

    Here’s the link again

    https://www.grapecity.com/en/forums/wijmo/olap-grid--doesn039t-prese

    Unfortunately we are only able to suggest the option of local storage because when you change the column width the layout changes which is not persistent and hence this setting needs to be saved either to a loca storage/session storage or any otherdatabase.

  • Posted 13 February 2018, 5:15 am EST

    Thanks Abhishek. Really Appreciate

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels