PC Review


Reply
Thread Tools Rate Thread

How to deselect the current cell for a DataGrid?

 
 
1001001001
Guest
Posts: n/a
 
      15th Jun 2005
I would like to deselect the current DG cell

i tried
this.CurrentCell = new DataGridCell(-1, -1);

but it causes my try catch to catch.

Know of a better way?

Thank you


 
Reply With Quote
 
 
 
 
Sergey Bogdanov
Guest
Posts: n/a
 
      16th Jun 2005
Try:
this.CurrentCell = null;

--
Sergey Bogdanov
http://www.sergeybogdanov.com


1001001001 wrote:
> I would like to deselect the current DG cell
>
> i tried
> this.CurrentCell = new DataGridCell(-1, -1);
>
> but it causes my try catch to catch.
>
> Know of a better way?
>
> Thank you
>
>

 
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
current cell in datagrid isn't saved! =?Utf-8?B?QWhtZWQ=?= Microsoft ADO .NET 5 13th Oct 2004 07:43 PM
How to capture current cell address in a datagrid =?Utf-8?B?R2lyaQ==?= Microsoft Dot NET Framework Forms 4 11th May 2004 12:11 PM
Datagrid select all and deselect Dale Microsoft VB .NET 1 6th Jan 2004 10:41 PM
Getting Data From Current Cell in DataGrid VB.NET 2003 Atley Microsoft Dot NET Compact Framework 3 4th Dec 2003 01:11 PM
Get value in current cell of datagrid Dave Bailey Microsoft C# .NET 0 3rd Dec 2003 05:57 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:37 PM.