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
200
Auto selection of first groupby row in a grid when it receives focus
posted

Is there a way of disabling the auto selection (and triggering a row selection event) of first groupby row in a grid when it receives focus?

I'd like the grid to only trigger a row selection event if a user explicitly selects a row.

For clarity, I mean trigger a Infragistics.Win.UltraWinGrid.UltraGrid.AfterSelectChange event.

  • 53790
    Suggested Answer
    posted

    Hello RFPCymba,

    One possible approach could be if you handle FormShow event. For example:

     private void Form1_Shown(object sender, EventArgs e)
            {
                ultraGrid1.Rows[0].Selected = false;
            }

    Let  me know if you have any questions.

    Regards