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
1540
Add Row to the top of a WinGrid
posted

Good morning!!

I have a WinGrid on my APP and the usar can Add news rows. My problem it that I want that the new row appears on the top of my grid instead of the bottom.

Is there any way to do this?

Thank you.

Best regards,

Maria

Parents
  • 469350
    Offline posted

    Hi Maria,


            private void ultraGrid1_InitializeLayout(object sender, Infragistics.Win.UltraWinGrid.InitializeLayoutEventArgs e)
            {
                UltraGridLayout layout = e.Layout;
                UltraGridOverride ov = layout.Override;

                ov.AllowAddNew = AllowAddNew.FixedAddRowOnTop;                        
            }

Reply Children