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

activate the cell

Thread ID:





13532 Apr 30,2004 10:56 AM UTC Apr 30,2004 03:19 PM UTC WinForms 4
Tags: GridControl
Philip Bishop
Asked On April 30, 2004 10:56 AM UTC

Is there any way so that when i click on a cell that the cell is just highlighted like excel does? Right now no matter which activatecurrentcellbehavior i have just clicking on a cell once will put u in some sort of edit mode. Either selecting all the currency cell data or positioning the cursor or whatever. If I use the arrow keys and move around the grid it works like excel where it highlights the cell and if u type ur able to but its not in an active edit mode. You have to double click in excel to get in the edit mode and i''m trying to mimic that feature. Is this possible. We are trying to do this on a non data bound grid with currency cells Thanks

Administrator [Syncfusion]
Replied On April 30, 2004 11:26 AM UTC

Using the, I do not see this problem in the sample below. Do you? Setting the ActivateCurrentCell behavior to None or DoubleClick seems to work as expected. forumCurrency_995.zip

Philip Bishop
Replied On April 30, 2004 12:34 PM UTC

hey i couldnt make ur sample work..we are using 2003 now and urs was in 2002. so i copied ur code to a sample of mine...yes that will allow me to click on the cell and not go into edit mode which is what we want..but the other half of what i asked was to make it like excel where clicking it highlights it and allows u to type in a non edit mode...but if i double click it, it does nothing. we want the double click to be like excel and then take the user into active edit mode. so clicking once highlights like what u sent me does in my sample using ur code and double clicking will take them in to active edit mode. is this possible? Thanks Phil

Administrator [Syncfusion]
Replied On April 30, 2004 01:58 PM UTC

We normally ship 2002 project since normally VisStu can just convert them when you try to load them. Looks like the doubleclick activatecurrentcell setting is not ''taking'' when you click on a currency cell. I will log this so we can get it fixed. Until we do, one this you can do is to handle the CellDoubleClick event and activate the cell there. Private Sub GridControl1_CellDoubleClick(ByVal sender As Object, ByVal e As GridCellClickEventArgs) Handles GridControl1.CellDoubleClick If Not Me.GridControl1.CurrentCell.IsEditing Then Me.GridControl1.CurrentCell.BeginEdit() End If End Sub

Philip Bishop
Replied On April 30, 2004 03:19 PM UTC

thanx clay. i also pasted this link in a direct trac so i could be notified when its fixed. as far as the visual studio 2002 vs 2003 i figured out what was happening. i learned today that if u open a 2002 in 2003 by clicking its solution file in windows explorer it will automatically open it in 2002 which was what was happening to me. If u click on its VBPROJ file however in windows expolorer it will open 2003 and tell u to convert. I didnt know that. I usually click the proj file. Thanks Phil


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