We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Tabbing through editable cells only

Thread ID:

Created:

Updated:

Platform:

Replies:

59584 Apr 17,2007 05:42 PM Apr 18,2007 01:02 PM Windows Forms 2
loading
Tags: GridControl
Julie Levy
Asked On April 17, 2007 05:42 PM

Hi -
i have a lot of data with only a few columns containing editable cells. Is there a way that when the user tabs throught the grid i can have them skip the readonly only cells and only land on the editable ones?
I am using a GridControl, latest version, .Net 2.0
Thanks,
Julie

Administrator [Syncfusion]
Replied On April 17, 2007 08:25 PM

Instead of setting style.ReadOnly = true, try setting style.Enabled = false. This should prevent the particular cell from ever being the current cell.


this.gridControl1[2, 3].Enabled = false;
//this.gridControl1[2, 3].ReadOnly = true;

Julie Levy
Replied On April 18, 2007 01:02 PM

thanks!
This works great, much easier than trying to handle the MoveCurrentCellDirection event.

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;