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
740
Problems with Multi-level headers and the spliter
posted

Here is our problem... 

We have a custom control for adding and removing columns to our grids.  When we update the grid, we have to rebuild the headers.  It doesn't work in all cases.  If the user has moved the splitter, the multi-level structure collapses and the columns appear in a random order.  But only if the splitter has been moved.

I have built a simple test project to highlight the core problem for us.  The data comes from a published Federal report on border crossing activity. 

Steps to see the error:

  1. Load the app. Notice the multi-level headers.
  2. Hit the "rebuild" button.
  3. Result: nothing changes
  4. Move the colum splitter from the far left side of the grid to any column in the grid.
  5. Hit "rebuild"
  6. Result: Single level headers and random column order
  7. Hit rebuild again to see the column order change.

 

Does any one have a fix or work-around for this issue?

Thanks!

   

DemoHeaders.zip