We allow our users to reorder columns. Everything works when there is no grouping. I looked at xml layout and columns are saved in order they appear on screen.
But when we create groups programmaticaly the saved layout is always the same. Even if I reorder groups xml layout save doesn't change.
I tried to modify it by hand and reload and it worked. I moved columns of groups in and they appeared in modified order on screen.
One solution is to modify layout returned by grid to make it in line with order of groups on screen and then save it. But I don't like it.
I'm using Version=2012.1.321.20
But when we create groups programmaticaly the saved layout is always the same. Even if I reorder groups xml layout save doesn't change.
I tried to modify it by hand and reload and it worked. I moved columns of groups in and they appeared in modified order on screen.
One solution is to modify layout returned by grid to make it in line with order of groups on screen and then save it. But I don't like it.
I'm using Version=2012.1.321.20