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.

ExcelLikeCurrentCell = true deletes hole cellvalue in editmode

Thread ID:

Created:

Updated:

Platform:

Replies:

7114 Sep 12,2003 04:17 AM Sep 26,2003 04:24 AM Windows Forms 5
loading
Tags: GridControl
Markus Kraft
Asked On September 12, 2003 04:17 AM

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 04:52 AM

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 06:30 AM

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 07:53 AM

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 25, 2003 11:42 PM

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 04:24 AM

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 1.6.1.7 build going out. So it will be at least another week or two before we make a 1.6.1.8 where I can then add that changed. We don't have a date for 2.0 specified yet. 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.

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.

;