Ticket Q99383
Visible to All Users

How to set group summaries values

created 17 years ago

Hi,
I need to set values for footer and group summaries manually in a TcxGrid. I'm able to do it using a function you provided me a few months ago; I write it on the DataController's OnAfterSummary event to set my own values to both summaries footer and group, but the values at the groups header does not reflect my changes.
Note that I just want the same values to be displayed at header and footer of each group.
Could you help me? Thanks

Show previous comments (6)
Stan (DevExpress Support) 17 years ago

    Hello Bernardo,
    Yes, you are quite right. You should adjust summary values for group and footer summary items separately. You can obtain the necessary summary item using the GetDataItem method as demonstrated in the attached sample.
    Please feel free to contact us if you need any additional assistance in this regard. We will be happy to help you.
    Thanks,
    Stan.

    BE BE
    Bernardo Effting 17 years ago

      Hi Stan!
      Thank you very much for help! It's working pretty fine now!

      Stan (DevExpress Support) 17 years ago

        You are welcome, Bernardo!
        Thanks,
        Stan.

        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.