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
4695
multi sort on ultragrid does not work
posted

Dear all,

I have below code but find that the sorting does not work. Do you know why??

private void dtgPromotionReportList_InitializeLayout(object sender, Infragistics.Win.UltraWinGrid.InitializeLayoutEventArgs e)
        {
            UltraGridLayout layout = e.Layout;
            UltraGridBand band = layout.Bands[0];
            UltraGridOverride ov = layout.Override;
            ov.HeaderClickAction = HeaderClickAction.SortMulti;
            band.SortedColumns.Add("EMPLOYEE_NAME", false);
            band.SortedColumns.Add("PLU", false);
        }