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?
I've tried the "StandardTab" property set to true and false, neither of them work.
Thank you,
Scott Vercuski
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
gridView.StandardTab must be set to false.