P
Patrick
I have a data-grid view already populated.
This is what should happen when I click a button
1) Detect selected rows
2) Calls SP to bulk update a flag on selected row
3) Refresh data-grid
4) Data-grid "scroll back" to the row user was on before
I tried the following which works only if the row selected is on the first
page (i.e., visible without having to page down on the DataGridView.
myDataGridView.Rows[indexRow].Selected =true;
myDataGridView.Rows[indexRow].Visible = true;
What code should I use to handle rows selected which are not in view without
page downing.
This is what should happen when I click a button
1) Detect selected rows
2) Calls SP to bulk update a flag on selected row
3) Refresh data-grid
4) Data-grid "scroll back" to the row user was on before
I tried the following which works only if the row selected is on the first
page (i.e., visible without having to page down on the DataGridView.
myDataGridView.Rows[indexRow].Selected =true;
myDataGridView.Rows[indexRow].Visible = true;
What code should I use to handle rows selected which are not in view without
page downing.