How to disable focus on some cell or entire columns

Jun 12, 2009 at 2:13 PM

Hi , i what to disable the focus on some cells which contain readonly data, just like in selection example (No. 17)

but with cells that are not null. Is this possible ?

 

Thanks in advance,

 

fhol

 

Jun 12, 2009 at 3:20 PM
dude, you are in luck, I have to resolve the same problem, so instead of doing that next week, I did it now. Just do this to cells that you do not want to all people to click
grid[r,c] = new Cell()
...
grid[r,c].AddController(SourceGrid.Cells.Controllers.Unselectable.Default);
...
 
Enjoy!
derek


 
On Fri, Jun 12, 2009 at 10:13 AM, fhol <notifications@codeplex.com> wrote:

From: fhol

Hi , i what to disable the focus on some cells which contain readonly data, just like in selection example (No. 17)

but with cells that are not null. Is this possible ?

 

Thanks in advance,

 

fhol

 

Read the full discussion online.

To add a post to this discussion, reply to this email (sourcegrid@discussions.codeplex.com)

To start a new discussion for this project, email sourcegrid@discussions.codeplex.com

You are receiving this email because you subscribed to this discussion on CodePlex. You can unsubscribe or change your settings on codePlex.com.

Please note: Images and attachments will be removed from emails. Any posts to this discussion will also be available online at codeplex.com


Jun 15, 2009 at 7:16 AM

Exactly want i wanted !

Thank you very much.

fhol