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
573
How to expand rows after group by
posted

How to expand all rows after group by column programmatic

i.e

Dim Column As UltraGridColumn = UltraWebGrid1.DisplayLayout.Bands(0).Columns(Index)

UltraWebGrid1.DisplayLayout.ViewType = ViewType.OutlookGroupBy
UltraWebGrid1.DisplayLayout.Bands(0).SortedColumns.Add(Column, False)
UltraWebGrid1.Columns(Index).IsGroupByColumn = True

 

Parents
  • 2501
    Verified Answer
    posted

    Hello Sameh,

    Thank you for posting your inquiry to the Infragistics ASP.Net Forums.  To expand all the GroupBy rows, handle the UltraWebGrid InitializeGroupByRow event and call the Expand method for the rows as shown here:

    protected void UltraWebGrid1_InitializeGroupByRow(object sender, RowEventArgs e)
    {
         e.Row.Expand(true);
    }

    Please let me know if this information helps or if you have any questions.

    Sincerely,
    Mike D.
    Developer Support Engineer
    Infragistics
    www.infragistics.com/support

     

Reply Children