DataGridView
am 20.11.2007 10:55:02 von KumarAPPI edit a cell in a DataGridView, and then would move to another cell in the
DataGridView using mouse. Then the DataGridView as of now does scroll down to
the last visited cell. But when I try to edit the same last visited cell,
focus gets shifted to the first few visible rows as per the dimensions set
for the DataGridView. To be exact it goes to the cell in the first row, and
the same column.
If I can say it this way, I would like to see same number of Rows visible at
the top, after scrolling down to the selected row / cell using mouse on the
GridView and even before the scrolling was done.
I have tried out many weird ways to do it, but none of them does the job for
me. A thing to add, I refresh my DataGridView every time, I do a cell value
change, which would be followed by cell validating event and cell Error
Check. I get the last recent edited cell in a moment, but scrolling to the
same seems to be a problem for me. I tried capturing every other event here,
but they do not give any solution.
If any of you have worked on the same, let me know any ideas you have
regarding the same.
--
Kumar.A.P.P
http://techaid.wordpress.com/