PC Review


Reply
Thread Tools Rate Thread

Displaying a row as active in datagridview

 
 
DBC User
Guest
Posts: n/a
 
      27th Jul 2006
I have a feature in my program to seach, the search is working good.
When selected search item is found, I make the row as selected that is
working fine. But When I have more than 25 rows, if the selected rows
below 25, even the row is selected that doesn't become visible until
unless you scroll down. Is it possible to make the row visible without
scrolling down?

 
Reply With Quote
 
 
 
 
DBC User
Guest
Posts: n/a
 
      27th Jul 2006
Does anyone know how to do this?

DBC User wrote:
> I have a feature in my program to seach, the search is working good.
> When selected search item is found, I make the row as selected that is
> working fine. But When I have more than 25 rows, if the selected rows
> below 25, even the row is selected that doesn't become visible until
> unless you scroll down. Is it possible to make the row visible without
> scrolling down?


 
Reply With Quote
 
Mike Blake-Knox
Guest
Posts: n/a
 
      31st Jul 2006
In article <(E-Mail Removed)>, DBC
User wrote:
> if the selected rows
> below 25, even the row is selected that doesn't become visible until
> unless you scroll down. Is it possible to make the row visible without
> scrolling down?


I'm setting mainDataGridView.FirstDisplayedScrollingRowIndex when I want
to bring a specific row into view.

Hope this helps.

Mike

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Displaying field name in datagridview SF Microsoft VB .NET 3 6th Oct 2009 01:36 AM
DataGridView not displaying subtotals Parrot Microsoft C# .NET 2 28th Sep 2008 03:39 PM
DataGridView always displaying a Vertical scrollbar =?Utf-8?B?QmlsbCBTcGFobg==?= Microsoft Dot NET Framework Forms 0 18th Nov 2006 06:41 AM
Displaying Collections in DataGridView Julian Microsoft Dot NET 0 5th Sep 2006 07:46 AM
Displaying data from 2 tables in one datagridview Lars E. Microsoft ADO .NET 3 25th Apr 2006 02:39 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:51 PM.