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
165
Saving Cardview Witdh
posted

Hi there!

We have some grids, the user can switch between row layout and card view.
The .Width (CardSettings) is calculated by the largest column, this all works fine (AutoFit is not always an option).

Now we want to save the width value to restore it next time, but I found no event which is fired when the user change the width of the cards.

The AfterColPosChanged is only fired when CardView is false.

So is there way to get the width after a user resized the cards?

rgds

Wolfgang

Parents
  • 29105
    Offline posted

    Hello and thank you for contacting Infragistics. You may use the grid's load and save layout functionality to preserver user interactions such as changing the width of the cards. I attached a sample demonstrating this. Also the grid has a Resolved width property I commented out which you can retrieve the width at any time. Let me know if you have any questions.

    WFCardViewTest.zip

Reply Children