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
420
HOWTO: Select All Rows with CTRL-A
posted

Does anyone know how to enable ctrl-a to select all rows on the WinGrid control ?

Thanks,

Andrew

Parents
No Data
Reply
  • 375
    posted

    Hi,

     the follwing code, placed in KeyUp event, will show you how to do:

    if (e.Control == true && e.KeyValue == 65)

    {

    foreach (Infragistics.Win.UltraWinGrid.UltraGridRow row in grdCustomerList.Rows)

    {

    row.Selected =
    true;

    }

    }

     

    Kind regards,

    Ralf

Children