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
295
multiple grouping in grid
posted

i want to group on Branch then on client and show the details.

  • 48586
    posted

    Hello,

     

    If you want to group by column in UltraGrid, furs verify that you are set:

     

    ultraGrid1.DisplayLayout.Override.AllowGroupBy = DefaultableBoolean.True;

    ultraGrid1.DisplayLayout.ViewStyleBand = ViewStyleBand.OutlookGroupBy;

     

    Then you could grouping the column with following code line:

     

    ultraGrid1.DisplayLayout.Bands[0].SortedColumns.Add("Branch", true, true);

    ultraGrid1.DisplayLayout.Bands[0].SortedColumns.Add("Client", true, true);

     I am not sure what details you are reffering, but if this is the summaries then you could set

    ultraGrid1.DisplayLayout.Bands[0].Override.SummaryDisplayArea  to

    SummaryDisplayAreas

     

     

    .GroupByRowsFooter;

    Let me know if you have any further questions.