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
510
ultraCombo Column Sorting - Always Particular Column on Top
posted

Hi,

 

In Ultracombo i have added one column   --All---.

When I Short the column ascending, Descending 'All'  Value going Down.

It should not Go down. Always on Top.

 

Is it possible.

 

Thank you

Parents
No Data
Reply
  • 469350
    Suggested Answer
    Offline posted

    Hi,

    Try this:


            private void ultraCombo1_InitializeLayout(object sender, Infragistics.Win.UltraWinGrid.InitializeLayoutEventArgs e)
            {
                e.Layout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
                e.Layout.Override.FixedRowStyle = Infragistics.Win.UltraWinGrid.FixedRowStyle.Top;

                // Assuming that the "--All--" row is the first one.
                e.Layout.Rows[0].Fixed = true;
            }

Children