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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Disable tabbing

Thread ID:





22642 Dec 17,2004 09:08 AM UTC Dec 17,2004 09:38 AM UTC WinForms 1
Tags: GridControl
Tarun Gujral
Asked On December 17, 2004 09:08 AM UTC

I want to disable tabbing only in ceratin rows in my grid. this.grid.WantTabKey = false; will disable tabbing of whole grid and i dont want to disable my row. How do i achieve this?

Administrator [Syncfusion]
Replied On December 17, 2004 09:38 AM UTC

You could try handling CurrentCellMoved. In the handler, conditionally set WantsTabKey depending upon whether the current row has tabbing or not.
private void gridControl1_CurrentCellMoved(object sender, GridCurrentCellMovedEventArgs e)
	if(this.gridControl1.CurrentCell.RowIndex > 1 &&
		this.gridControl1.CurrentCell.RowIndex < 4)
		this.gridControl1.WantTabKey = false;
		this.gridControl1.WantTabKey = true;


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

This page will automatically be redirected to the 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

Live Chat Icon For mobile
Live Chat Icon