Datagridview row selection

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mvenkatesan
    New Member
    • May 2007
    • 39

    Datagridview row selection

    Hi guys
    I using c#
    My form have datagridview its predefined col and some user entry col is there.
    I want to click first col on particular row it will select appropriate row
    but not select the row other col click
    dgv not have parent row
    Is it possible?

    venky
  • Plater
    Recognized Expert Expert
    • Apr 2007
    • 7872

    #2
    In your cell click event check to see if it's the "first" column, if so, select the entire row, if it's not the "first" column don't do anything.
    You might have to play with the "SelectionM ode" first.

    Comment

    Working...