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

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

Thread ID:

Created:

Updated:

Platform:

Replies:

58259 Mar 21,2007 12:53 PM UTC Mar 22,2007 03:00 PM UTC WinForms 2
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On March 21, 2007 12:53 PM UTC

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 04:54 PM UTC

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 03:00 PM UTC

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.

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

;