Ticket Q232886
Visible to All Users
Duplicate

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

Grid List Editors - Support a banded view and make it easier to use other grid view types

Banded Grid Editor does not consider DisplayFormat

created 15 years ago

Hi,
May be this is the question for XtraGrid,
Since XAF does not support Banded Grid , I have created our own Banded Grid Editor, things works fine except that DisplayFormat is considered, I spend 2 days on this,
Attached a sample , could you please help me finding what I am doing wrong?
Thanks in advance
/Binish

Comments (2)
Dennis Garavsky (DevExpress) 15 years ago

    Hello Binish,
    After debugging your code I have found that you have handled the following event that causes this problem:

    C#
    void _gridView_CustomColumnDisplayText(object sender, CustomColumnDisplayTextEventArgs e) { if (e.Value != null) e.DisplayText = e.Value.ToString(); else e.DisplayText = ""; }

    Let me know in case of any further difficulty.
    See Also:
    ListEditors - Support additional view types (BandedGridView, LayoutView, CardView, AdvBandedGridView) of the grid control
    Thanks,
    Dennis

    ?
    Unknown 15 years ago

      Thanks Dennis,
      Another Developer had changed it for some other reason :)
      /Binish

      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.