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.

Select Appendrow in GridDataBoundGrid

Thread ID:

Created:

Updated:

Platform:

Replies:

28494 May 3,2005 10:08 AM May 4,2005 03:58 AM Windows Forms 2
loading
Tags: GridControl
Matthias Klein
Asked On May 3, 2005 10:08 AM

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 11:37 AM

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

Matthias Klein
Replied On May 4, 2005 03:58 AM

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

CONFIRMATION

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.

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.

;