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. Image for the cookie policy date

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

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.

2 Replies

AD Administrator Syncfusion Team 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


AD Administrator Syncfusion Team March 22, 2007 03:00 PM UTC

Thanks.

Now if have found this property at last.

Loader.
Live Chat Icon For mobile
Up arrow icon