PC Review


Reply
Thread Tools Rate Thread

Disable Specific row in DataGrid

 
 
alex
Guest
Posts: n/a
 
      2nd Sep 2003
Hi,
is there an easy way to disable (prevent from edit) specific rows in a
datagrid ?

Alex

 
Reply With Quote
 
 
 
 
One Handed Man
Guest
Posts: n/a
 
      2nd Sep 2003
One way might be to handle the underlying row changes and reject the changes
for specific rows.

As for preventing a particular gridrows going into edit, the only way I can
think of ( and im sure there are others ) is to handle the begin edit event
and maye prevent it this way .

Any other ideas ?

--
Regards - One Handed Man

Author : Fish .NET & Keep .NET
=========================================
This posting is provided "AS IS" with no warranties,
and confers no rights.


"alex" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> Hi,
> is there an easy way to disable (prevent from edit) specific rows in a
> datagrid ?
>
> Alex
>



 
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
Look for a specific Value in a Datagrid Dave Microsoft ASP .NET 0 5th Jan 2007 04:56 PM
Disable sort on specific columns with VB.NET datagrid ECD Microsoft VB .NET 1 1st Dec 2006 07:09 PM
Disable editing of one specific cell in one specific row in dataGr =?Utf-8?B?R2lkaQ==?= Microsoft C# .NET 1 28th Jan 2006 10:00 PM
Disable a Specific Message Box doodles82a@yahoo.com Microsoft Excel Programming 2 13th Jan 2006 11:06 PM
How do you set a Datagrid obj to a specific Datagrid? KC Microsoft VB .NET 1 16th Jul 2004 08:37 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:21 PM.