Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
710
How to show the column summary for a specific column per default
posted

Hi,

i would like to Show the summay for a specific row per Default, not after the user clicked on the column and check the "sum"

The grid is just bound to a inumerable - not to a ultradatasource.

Is this possible.

Regs Uwe

  • 6120
    Verified Answer
    Offline posted

    Hi Uwe,

    You can refer to the below code for adding summary rows programmatically. In your InitializeLayout() method you can do something like this to add “Sum” type summary by default.
    e.Layout.Bands[0].Summaries.Add("sumarryKey", SummaryType.Sum, e.Layout.Bands[0].Columns["Column1"]);

    Please let me know if you have any questions.

    Sincerely,
    Sahaja Kokkalagadda
    Associate Software Developer, Windows Forms
    http://ko.infragistics.com/