This is a migrated thread and some comments may be shown as answers.

Tab key not switching between columns

0 Answers 93 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Scott
Top achievements
Rank 1
Scott asked on 13 Jan 2010, 06:46 PM
Good morning,

I am creating gridviews programmatically but the TAB key is not functioning within the gridviews. When I click the tab key it either does nothing or, if the controls is in edit mode, it just highlights the entire value within the control. How do I get the TAB key to jump between cells?

RadGridView gridView = new RadGridView();  
gridView.Name = name;  
gridView.Anchor = (System.Windows.Forms.AnchorStyles)(System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right);  
gridView.AutoSize = true;  
gridView.AutoScroll = true;  
gridView.MasterGridViewTemplate.BestFitColumns();  
//gridView.MasterGridViewTemplate.AutoSizeColumnsMode = GridViewAutoSizeColumnsMode.Fill;  
gridView.MasterGridViewTemplate.AutoGenerateColumns = false;  
gridView.MasterGridViewTemplate.AllowAddNewRow = true;  
gridView.ShowGroupPanel = false;  
gridView.ContextMenuOpening += new ContextMenuOpeningEventHandler(gridView_ContextMenuOpening);  
gridView.GridBehavior = new MyBehavior(); // see behavior below  
gridView.CellBeginEdit += new GridViewCellCancelEventHandler(gridView_CellBeginEdit);  
gridView.CellValueChanged += new GridViewCellEventHandler(gridView_CellValueChanged);  
gridView.StandardTab = true;  
 

I've tried the "StandardTab" property set to true and false, neither of them work.

Thank you,
Scott Vercuski
Fabian
Top achievements
Rank 1
commented on 19 Feb 2023, 12:46 PM

gridView.StandardTab must be set to false.

No answers yet. Maybe you can help?

Tags
GridView
Asked by
Scott
Top achievements
Rank 1
Share this question
or