Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 1.0 > C#
|
C# Programming questions specific to the Microsoft C# language. See also the forum Beginning Visual C# to discuss that specific Wrox book and code.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 12th, 2008, 03:20 AM
Authorized User
 
Join Date: Feb 2008
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to select or highlight data grid row

Hello all,

I want to highlight or select data grid row based on first letter of first column in data grid with keyboard.

Just by pressing the key of first letter of the column ,it has to highlight the respective row.

For example,

RST 1000 FFF
FGH 2000 JJJ
KLP 3000 KKK
FST 4000 GGG

grid will be having 4 rows like this,if user prees F then it has to highlight 2nd row,if he press F continuosly then its has to highlight the 4th row..like it has to search and Highlight all Rows that's having first column name starting with F.

This feature is default for combo box list or list box .

But how i will be able to provide the same functionality for Data Grid.


Thanx,
Suji







Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting a GridView Row to highlight gcm_uk ASP.NET 2.0 Basics 0 May 1st, 2007 05:55 AM
datagrid w/checkbox highlight row onchange fitchic77 .NET Framework 2.0 3 August 5th, 2004 01:40 PM
Row highlight with mousemove hello2lu Access VBA 0 July 14th, 2004 04:25 AM
Datasheet View Auto Highlight a Row Dataman Access VBA 0 February 15th, 2004 11:16 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.