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.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Select Appendrow in GridDataBoundGrid

Thread ID:





28494 May 3,2005 02:08 PM UTC May 4,2005 07:58 AM UTC Windows Forms 2
Tags: GridControl
Matthias Klein
Asked On May 3, 2005 02:08 PM UTC

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

Administrator [Syncfusion]
Replied On May 3, 2005 03:37 PM UTC

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

Matthias Klein
Replied On May 4, 2005 07:58 AM UTC

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


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.

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