We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Scroll to a given row

Hello, I am working with the data bound grid and using a multi-hierarchy tree view. My question is `If I know the RowIndex of a desired row, how can I get the grid to that row into view?`. Additionaly, if the row is within a collapsed section of the grid, I would like to expand the parent tree nodes so that the desired row is visable. Thanks in advance, Virgil

1 Reply

Administrator February 11, 2005 08:45 PM UTC

Given a grid row index you can scroll to that specific row with grid.ScrollCellInView(rowIndex, grid.LeftColIndex); Not sure about the other problem. I have to wait for Clay to be back - he is expert with GridDataBoundGrid and hierachies. Stefan >Hello, > >I am working with the data bound grid and using a multi-hierarchy tree view. My question is `If I know the RowIndex of a desired row, how can I get the grid to that row into view?`. Additionaly, if the row is within a collapsed section of the grid, I would like to expand the parent tree nodes so that the desired row is visable. > >Thanks in advance, >Virgil
Loader.
Live Chat Icon For mobile
Up arrow icon