Hello,
I'm encountering a problem with columns moving in the TreeList control after restoring saved layout.
If we just populate the TreeList with the bands and columns, moving is alright. This problem is only present after we restore certain layouts. After that, when we try to move some columns inside a band towards the left, the column is placed at the wrong position. If we try to move it towards the right by one position, the column is not moved at all.
The saved layout (XML) and the video demonstating the problem are in the attachment.
Thank you.
Hello,
My attempt to reproduce this behavior was not successful. I have attached a sample project that illustrates it.
Please modify this project so that it illustrates the issue and send it back to us.
In addition, check the TreeListOptionsColumn.AllowMove value when you try to move it.
I am looking forward to your reply.
Hello,
I'm not sure why you are suggesting to check AllowMove property, since from the video it is apparent the columns are moving, just not entirely correctly when dropping them. Have you checked the exported layout? Because the tree begins to misbehave after loading it.
Thanks
Hello,
Yes, I have tried to restore your layout and it works correctly. Would you please provide your form's Designer.cs(or .vb) file, so we can investigate it and try to find a solution.
I hope to receive your response soon.
Hi,
I have attached a sample demonstrating the issue. When you run it, try to move "Nazev" column to the left before "Kod" column and then back - you will see what's wrong.
Thanks.
Hello,
Thank you for the project. I have reproduced this behavior. I have forwarded this ticket to our R&D team. We will research and update it as soon as we obtain any additional information.
Hello,
I have downloaded 15.1.9.0 and upgraded previous project. The columns moving is still not working correctly. What was actually fixed? Thanks.
Hello,
Thank you for the clarification. I have researched this issue and found that though this fix is not included in version 15.1.9, it will be available in version 15.1.10. Currently, the fix is available in version 15.2.4. Also, you can request the hot fix for version 15.1. For more information about it, please refer to the How to request a hotfix KB article.
Let me know if you have additional questions. We will be happy to assist you.
Ok, I will wait for 15.1.10. Thank you.