in
Forums
Blogs
Files
Devexpress.Com
Client Center
Support Center
DevExpress Channel

OnAfterSummary problem

Last post 9/12/2007 12:00 PM by Stephan St-Denis. 0 replies.
Page 1 of 1 (1 items)
Sort Posts:
Previous Next
  • 9/12/2007 12:00 PM

    OnAfterSummary problem

     Hi,

    This question have probably been asked before but I can't find any reference
    to this, so here it is.

    In a grid, I have three hidden columns with a summary attached to each one.
    Lets call the columns col1, col2 and col3.

    I need to display the values of the summaries for Col1, Col2 and Col2 in
    three TcxCurrencyEdit controls because of the presentation of the form.

    To do so, I used the GridView's OnAfterSummary event. In that event, I try
    to assign the values of Col1, Col2 and Col3 to my three CurrencyEdit
    controls.

    CurEdit1.Value := ASender.FooterSummaryValues[Col1.Index];
    CurEdit2.Value := ASender.FooterSummaryValues[Col2.Index];
    CurEdit3.Value  :=ASender.FooterSummaryValues[Col3.Index];

    This code doesn't work at all and I'm wondering why ?

    Any idea someone ?

    Thanks in advance,

    Stephan St-Denis

    Filed under:
Page 1 of 1 (1 items)
Copyright © 1998-2008 Developer Express Inc.
ALL RIGHTS RESERVED