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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Tabbing through editable cells only

Thread ID:





59584 Apr 17,2007 09:42 PM UTC Apr 18,2007 05:02 PM UTC WinForms 2
Tags: GridControl
Julie Levy
Asked On April 17, 2007 09:42 PM UTC

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

Administrator [Syncfusion]
Replied On April 18, 2007 12:25 AM UTC

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 05:02 PM UTC

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


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.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon 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.Close Icon