Hi Ralf,
Thank you for the report, and for providing the sample project.
I've reproduced the problem locally, and we'll examine why it occurs.
As an immediate solution, please surround the code that changes the grid's parent with the BeginUpdate/EndUpdate pair:
[C#]aggrid.BeginUpdate(); if (grd1.Children.Count == 0) { grd2.Children.Clear(); grd1.Children.Add(aggrid); } else if (grd2.Children.Count == 0) { grd1.Children.Clear(); grd2.Children.Add(aggrid); } aggrid.EndUpdate();
This should "fix" the problem.
Thanks,
Vito
Is your intention to post an answer to your own question?
- If so, then proceed.
- If you simply wanted to post additional information, ask for further clarification, or to just say "Thanks!", please click Leave a Comment.
- If you wish to edit your original question, please use the Edit button in the Toolbox at the top right corner of that entry.
Facebook
Twitter
Google+