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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

ActivateCurrentCellBehavior

Thread ID:

Created:

Updated:

Platform:

Replies:

1704 Nov 19,2002 11:11 PM UTC Nov 20,2002 11:33 AM UTC WinForms 1
loading
Tags: GridControl
Toby Altman
Asked On November 19, 2002 11:11 PM UTC

I am having trouble with the ActivateCurrentCellBehavior when set to DblClickOnCell. "EditBox" , "MonthCalendar" ect… do not activate when double clicked and are in a non scrolling row. Rather than confuse the issue with what I am doing, the same behavior can be seen in your GDBGMultiHeader example. If you take your GDBGMultiHeader example, change the line in the Form1_Load method that has: this.gridDataBoundGrid1.Model.Options.ActivateCurrentCellBehavior = GridCellActivateAction.SelectAll; to: this.gridDataBoundGrid1.Model.Options.ActivateCurrentCellBehavior = GridCellActivateAction.DblClickOnCell; and then run the example and double click on row 2 with the cell having style.CellType = "MonthCalendar" the control is not in edit mode as it should be. This is the case for “EditBox” as well, and probably other controls with an editable text aspect. Is this a known problem ? I can work around the problem with someting like: private void eh_gridDoubleClick(object sender, EventArgs e) { if(m_grid.CurrentCell.RowIndex == 1 && m_grid.ActivateCurrentCellBehavior == GridCellActivateAction.DblClickOnCell && !m_grid.CurrentCell.IsEditing) { m_grid.CurrentCell.BeginEdit(); } } Thanks in advance. Toby Altman

Administrator [Syncfusion]
Replied On November 20, 2002 11:33 AM UTC

Thanks for bringing this to our attention. The GridDataBoundGrid was handling OnCellDoubleClick for any header cell and canceling the event (because of double-click/sort column logic). We will fix this with our next patch. Stefan

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.

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

;