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.

GridGroupingControl - Excel like override value on input after mouse click.

Thread ID:

Created:

Updated:

Platform:

Replies:

58259 Mar 21,2007 08:53 AM Mar 22,2007 11:00 AM Windows Forms 2
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On March 21, 2007 08:53 AM

Hi,

In a windows forms GridGroupingControl, there are some edit field with integer values inside (field type is string or integer, content is always integer). If field is entered by mouse click, position for subsequent input depends on position of mouse click inside the field.

Example: There is '0' in the field. If you click left and type an '1', the field contains '10' afterwards, if you click right and type an '1', the field contains '01' which ends in '1'.

In MS Excel, if you enter a field by mouse click and start to type a value, the old value in field will be overridden.

How to get Excel like behavior in GridGroupingControl?

In project, .NET 1.1 and Syncfusion 4.4.0.51 is used.

Thanks in advance.

Administrator [Syncfusion]
Replied On March 21, 2007 12:54 PM

Hi Markus,

You can set the following property to achieve this behavior

this.gridGroupingControl1.TableControl.Model.Options.ActivateCurrentCellBehavior = GridCellActivateAction.SelectAll;

This SelectAll setting means that clicking on a cell does select all text in a cell.

Best regards,
Haneef

Administrator [Syncfusion]
Replied On March 22, 2007 11:00 AM

Thanks.

Now if have found this property at last.

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.

;