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
365
Adding a New Row to the Top of the winGrid
posted

Hi ,

i am using a ultra win grid for showing the data.

my qusetion is i want to add a row to the top of the win grid

could you pplease help me regarding this issue

 

Thanks & Regards

 

Parents
No Data
Reply
  • 9298
    posted

    Here is how you can add a new row to the top of the WinGrid:  In the InitializeLayout event set the AllowAddNew property in the Override section of DisplayLayout to TemplateOnTop like so:

    e.Layout.Override.AllowAddNew =

     

    AllowAddNew

    .TemplateOnTop;

    You can also set its BackColor if you like so that it will stand out from the other rows like so:

    e.Layout.Override.TemplateAddRowCellAppearance.BackColor =

    Color.DodgerBlue;

    That should do it.  I hope that works for you.

    Michael S.

Children
No Data