Ticket Q436011
Visible to All Users
Duplicate

We have closed this ticket because another page addresses its subject:

Data-aware container controls - Format settings are not applied to cells

TcxDBGridColumn with CalcEditProperties not assuming the DisplayFormat of the column if the field also has a DisplayFormat value.

created 13 years ago

Hi,

In this new version the DisplayFormat of grid columns with TcxCalcEditProperties is ignored if the associated data field also has a DisplayFormat defined. But in this case the grid doesn't use any DisplayFormat property.

Please check the attached sample project.

Thanks.

Luis

Comments (1)

    Please ignore the first attachment. It was the wrong one. Feel free to delete it from this ticket.
    Please check the correct one here.

    Answers

    created 13 years ago (modified 13 years ago)

    Hello,
    It seems that you have faced a bug that is already fixed. Please refer to the Data-aware container controls - Format settings are not applied to cells ticket for the information.

      Show previous comments (2)
      DevExpress Support Team 13 years ago

        Hello,
        Please accept my apologies for any inconvenience this issue might have caused you.
        I have just checked the code and confirm that you are right. The fix should contain only changes in the IsValueFormattedByProvider function. I have changed the fix accordingly.

          Hi,
          Please also check for this:
          Just found out that, even with this fix applied, if the TcxGridDBColumn doesn't have any editor property defined it also doesn't use the DataField's DisplayFormat property.
          Please check the attached project and look for the FIELD4 column.
          Thanks.

          DevExpress Support Team 13 years ago

            Hello,
            Thank you for your sample project. Although I was not able to reproduce the issue with only that fix applied, I have removed the fix from the Data-aware container controls - Format settings are not applied to cells ticket because I understand that we need additional testing to ensure that an intermediate build operates correctly.
            The status of the mentioned ticket is still active. We appreciate your understanding.

            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.