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

cell tabbing

Thread ID:





99995 Jun 24,2011 04:01 PM UTC Jun 28,2011 10:04 AM UTC WPF 1
Tags: GridControl
Mary Fontana
Asked On June 24, 2011 04:01 PM UTC

In my application I have all but two columns are read only.
I create the columns with GridDataVisibleColumn and set the IsReadOnly property.

When tabbing to cells I would like to restrict tabbing to only the cells that can be edited.

Is this possible?

Manikandan [Syncfusion]
Replied On June 28, 2011 10:04 AM UTC

Hi Mary,

Thanks for using Syncfusion Products.

You can achieve your requirement by handling QueryCellInfo event and setting enabled property to false as follows:

Code snippet [C#]:

this.grid.Model.QueryCellInfo += new GridQueryCellInfoEventHandler(Model_QueryCellInfo);

void Model_QueryCellInfo(object sender, GridQueryCellInfoEventArgs e)
if (this.grid.VisibleColumns[e.Cell.ColumnIndex].IsReadOnly == true)
e.Style.Enabled = false;

We have prepared a sample based on this and you can find the sample under the following location:

Sample : http://www.syncfusion.com/uploads/redirect.aspx?&team=support&file=Sample_I522135294.zip

Please let us know if this helps.



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