Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Programmatically scrolling
Message
From
16/04/2007 22:17:20
John Baird
Coatesville, Pennsylvania, United States
 
 
To
16/04/2007 20:07:40
General information
Forum:
ASP.NET
Category:
Forms
Environment versions
Environment:
C# 2.0
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01214513
Message ID:
01216567
Views:
10
Yep, I missed the View on datagridview....

but you would think they'd be alike. oh, well...


>It seems that DataGrid has the CurrentRowIndex property, but DataGridView does not.
>
>Weird, huh?
>
>~~Bonnie
>
>>>How do you scroll a DataGridView programmatically? I have selected a row programmatically that is outside of the viewable area. How can I scroll to that row?
>>>
>>>Richard
>>
>>Funny you should ask, I just had to do this last night. You locate the row you wish to have scroll and then:
>>
>>
>>this.dataGrid.CurrentRowIndex = _currentRow;
>>this.dataGrid.Select(_currentRow);
>>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform