Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
80
Grid resize problem
posted

I have a ultragrid embedded in a control and I need to persist the column sizes. The problem is "AfterColPosChanged" is called on control load event and on actual resizing, so the change was reverted on control reload. What I need to do is to load the grid sizes if it's a control reload, and save the sizes if it's an actual resizing. How do I do this? Thanks.

Parents
No Data
Reply
  • 469350
    Offline posted

    Hi,

    I'm not sure I understand what you are asking.

    What I would do is use the Save and Load methods on the grid's DisplayLayout. Save when the dialog closes and load when it opens. There's no reason to save every time the user makes a change.

Children