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

Select Appendrow in GridDataBoundGrid

Hi, I have a DataBoundGrid and everything works fine. But I have to move to the appendrow from the program''s main-menu and enter the editmode directly: User Selects Edit->New Inputfocus has to go to the appendrow and is in editmode. I have selected the appendrow with something like this: gridDataBoundGrid1.CurrentCell.Activate(gridDataBoundGrid1.Model.RowCount, 1, GridSetCurrentCellOptions.SetFocus ); But I still have to click on it with the mouse before I can start editing. Any Ideas?? Thanks for help -Matthias

2 Replies

AD Administrator Syncfusion Team May 3, 2005 03:37 PM UTC

Instead of CurrentCell.Activate, try calling CurrentCell.MoveTo.

MK Matthias Klein May 4, 2005 07:58 AM UTC

Just wanted to let you know: Setting ForceCurrentCellMoveTo = true did the trick. -Matthias

Live Chat Icon For mobile
Up arrow icon