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

ExcelLikeCurrentCell = true deletes hole cellvalue in editmode

Thread ID:





7114 Sep 12,2003 08:17 AM UTC Sep 26,2003 08:24 AM UTC WinForms 5
Tags: GridControl
Markus Kraft
Asked On September 12, 2003 08:17 AM UTC

Hi, if ExcelLikeCurrentCell = true and a cell is in editmode (dbl-click or F2)and i press the delete-key the hole cell value will be deleted the same behavor is when marked a range of characters inside the cell. correct is to delete the character on the right side of the inputcursor. is a way to resolve these problem? greetings markus

Administrator [Syncfusion]
Replied On September 12, 2003 08:52 AM UTC

I tried to reproduce this in the attached sample, but I do not see the problem. Do you? Do you have other settings or events handled that might affect this?

Markus Kraft
Replied On September 25, 2003 10:30 AM UTC

Hi Clay, your sendet sample 7114 uses a datagrid. With a datagrid the deleting-error i described dont occours. I modified your sample with a databoundgrid and activated ExcelLikeCurrentCell = true and ExcelLikeSelectionFrame = true. If a cell is in editmode (dbl-click or F2)and i press the delete-key the hole cell value will be deleted. Also is it not possible to mark a substring and copy the substring to another cell, only the complete cell value will be copied. this behavor is not correct. Correct is to delete the character on the right side of the inputcursor or copy only the marked substring. can you resolve this problem with a databound grid ? greetings markus

Administrator [Syncfusion]
Replied On September 25, 2003 11:53 AM UTC

I can reproduce this behavior and we'll have to fix it in our codebase. The databoundgrid has no explicit if-statements if Excel-like selection mode has been enabled and therefore treats the current cell-selected range as if it is regular cell selection. Stefan

Markus Kraft
Replied On September 26, 2003 03:42 AM UTC

Hi Stephan, i have 3 Questions: 1. When will you fix this problem? 2. Can you help me to fix this problem in my essentialsource-code? 3. When is a new version ( V2.0) of syncfusion essentialsuite available? greetings markus

Administrator [Syncfusion]
Replied On September 26, 2003 08:24 AM UTC

In GridDataBoundGrid.HandleKeyDown look at the line else if (Model.SelectedRanges.Count > 0) and change it to else if (Model.Options.ExcelLikeCurrentCell && Model.SelectedRanges.Count > 1 || Model.Options.ExcelLikeCurrentCell && Model.SelectedRanges.Count == 1 && Model.SelectedRanges[0].Width + Model.SelectedRanges[0].Height > 0 || !Model.Options.ExcelLikeCurrentCell && Model.SelectedRanges.Count > 0) or you could sinple check for CurrentCell.IsEditing ... I haven't tested this yet. Before I make any changes I first have to look more carefull. We just had a build going out. So it will be at least another week or two before we make a where I can then add that changed. We don't have a date for 2.0 specified yet. Stefan


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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

Live Chat Icon For mobile
Live Chat Icon