[DevExpress Support Team: CLONED FROM T595670: GridView.Assign does not copy the expression of the Unbound Columns]
GridView does not apply the expression of the Unbound Columns after calling the Assign method
Answers approved by DevExpress Support
Hello,
I discussed this behavior with our developers.The GridView.Assign method is intended for internal use and we re-populate columns in our source code after its call. Therefore, we do not plan to change this behavior.
So, I suggest you call the GridView.DataController.RePopulateColumns method immediately after the Assign one.
Should you have further questions, let me know.
Hi. I see that Assign method does not copy OptionsDetail.ShowEmbeddedDetailIndent either which perhaps produces a different behavior between original and 'cloned' view, showing a gray margin between Master and Detail in the original view but not in the cloned one.
Please don't open a new ticket for this as I have already solved it. It drove me crazy to remove that gray margin! I say it here only for your and other's information.
Regards.