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
5549
How can User resize Columns of Wingrid at Runtime
posted

Hi, iam currently use
Infragistics4.Win.UltraWinGrid.v11.2

i have a simple grid with 10 Columns. At Runtime i create the Grid. Now is it possible that the user can change the size of the Columns at Runtime?
Or did you have a Solution or Idea how the User can resize the Columns? And save this Grid Layout.
Best Regards

Parents
No Data
Reply
  • 53790
    posted

    Hello Martin,

    martin2004 said:
    Now is it possible that the user can change the size of the Columns at Runtime?

    Yes, it is possible. You could set property for example:

    - this.ultraGrid1.DisplayLayout.Override.AllowColSizing = Infragistics.Win.UltraWinGrid.AllowColSizing.Free;

    martin2004 said:
    Or did you have a Solution or Idea how the User can resize the Columns? And save this Grid Layout

    You could use our methods  ultraGrid1.DisplayLayout.SaveAsXml(); and ultraGrid1.DisplayLayout.LoadFromXml(); ultraGrid1.DisplayLayout.Save(); and ultraGrid1.DisplayLayout.Load();

    Let me know if you have any questions.

    Regards

     

Children