HighTechTalks DotNet Forums  

DataGridView

Dotnet General Discussions microsoft.public.dotnet.general


Discuss DataGridView in the Dotnet General Discussions forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Kumar.A.P.P
 
Posts: n/a

Default DataGridView - 11-20-2007 , 04:55 AM






I 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/

Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.