DataGridView and Selected Row

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Ian Semmel

    #1

    DataGridView and Selected Row

    If I can explain it.

    I have a DataGridView with say 100 rows, 30 of which will display on the
    screen.

    If I drag down the vertical scroll bar so that say row 50 is the centre
    row vertically and click on the row header, the row is selected ok but
    it is positioned at the bottom of the control as the second last row on
    the screen.

    My question: How do I make it so that when I select a row, vertical
    movement doesn't occur ?


  • Nathan

    #2
    Re: DataGridView and Selected Row

    I can't reproduce this; are you sure there aren't any other events firing to
    cause this to happen?

    "Ian Semmel" <anyone@rocketc omp.com.auwrote in message
    news:%23xbIMNHt IHA.2208@TK2MSF TNGP04.phx.gbl. ..
    If I can explain it.
    >
    I have a DataGridView with say 100 rows, 30 of which will display on the
    screen.
    >
    If I drag down the vertical scroll bar so that say row 50 is the centre
    row vertically and click on the row header, the row is selected ok but it
    is positioned at the bottom of the control as the second last row on the
    screen.
    >
    My question: How do I make it so that when I select a row, vertical
    movement doesn't occur ?
    >
    >

    Comment

    • Ian Semmel

      #3
      Re: DataGridView and Selected Row

      Probably are. DataGridViews and me aren't 100% compatible.

      If it's not a feature, I will play around with it some more.

      "Nathan" <mspassport@mac gregorfamily.ne twrote in message
      news:98BB5F44-77DF-416B-B699-D58648A5ADAA@mi crosoft.com:
      I can't reproduce this; are you sure there aren't any other events
      firing to
      cause this to happen?
      >
      "Ian Semmel" <anyone@rocketc omp.com.auwrote in message
      news:%23xbIMNHt IHA.2208@TK2MSF TNGP04.phx.gbl. ..
      >
      If I can explain it.

      I have a DataGridView with say 100 rows, 30 of which will display on
      the
      screen.

      If I drag down the vertical scroll bar so that say row 50 is the
      centre
      row vertically and click on the row header, the row is selected ok but
      it
      is positioned at the bottom of the control as the second last row on
      the
      screen.

      My question: How do I make it so that when I select a row, vertical
      movement doesn't occur ?

      Comment

      Working...