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
440
XamGrid Header Resizing
posted

Hi, my app has multiple columns and levels of group columns, with the ability to add or remove columns. When a group column is removed, the header area isn't resizing to the remaining header cells, which results in a huge waste of space for my app. How can I make the header area shrink when columns are removed?

What happens now:

   

What I want:

I've attached a sample project.

 

XamGridHeaderResize.zip
Parents
No Data
Reply
  • 35319
    posted

    Hello palen,

     

    I have been looking into your question and I can suggest you add the following code line at the end of the body of ‘Button_Click’ event :

     

                MainGrid.HeaderRowHeight = new RowHeight(25);

     

    If you need any further assistance on this matter, feel free to ask.

Children