FullRowSelect in DataGrid

  • Thread starter Thread starter Jassim Rahma
  • Start date Start date
J

Jassim Rahma

Hi,

How can I FullRowSelect in DataGrid using C#?

Many Thanks,
Jassim Rahma
 
Hello,
On mouse click, get the active rowIndex and call DataGrid.Select(int
rowIndex) method.

HTH. Cheers :)
Maqsood Ahmed [MCP,C#]
Kolachi Advanced Technologies
http://www.kolachi.net
 
Thanks..

But this will change only when using the mouse.. so if I want to have
the same when user uses the keyboard I should add it to the KeyUp?
right?


Many Thanks,
Jassim Rahma
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top