Bug Report T596317
Visible to All Users

GridView does not apply the expression of the Unbound Columns after calling the Assign method

Answers approved by DevExpress Support

created 7 years ago

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.

    Show previous comments (1)
    DevExpress Support Team 7 years ago

      Thank you for this observation. We will add a note to our documentation.

        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.

        DevExpress Support Team 4 years ago

          Thank you for sharing this information, Ivan. We appreciate this.

          Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

          Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.