datagrid select vs currentRowIndex

D

Deanna Delapasse

Hi,

I've got some example code that alters the row heights of the rows in a
datagrid. Everything works fine, but when you click on the row headers
sometimes the row you clicked on pops up to the top of the grid, but the row
in its old position is the one that shows as selected. The grid is claiming
to select the correct row (I can print the row index). The example uses
dataGrid.Select(row) AND dataGrid.CurrentRowIndex in what seems like random
fashion. Can someone tell me the difference in what those two things do?

What, if anything, would be responsible for scrolling the grid based on
the selection?

thanks,
Deanna
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top