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

gridDataBoundGrid, read only still selects text

Thread ID:





14350 May 25,2004 04:54 PM UTC May 25,2004 07:26 PM UTC WinForms 4
Tags: GridControl
Kevin Musters
Asked On May 25, 2004 04:54 PM UTC

I have created a selection method that changes the row style color on cell click. I am running into problems when I click the cell, the cell goes into edit mode and the flag to change the row style color does not activate. I tried going into read only mode, but I still get a cursor indicating that I am in edit mode in the cell. Any possibly solutions where I can click on the text cell, and no matter what, I can return a flag value.

Administrator [Syncfusion]
Replied On May 25, 2004 04:56 PM UTC

If you do not want the current cell to become active for editing when you click it, try setting grid.ActivateCurrentCellBehavior to None.

Kevin Musters
Replied On May 25, 2004 05:02 PM UTC

That behaviour is already set in my DataBoundGrid. Unfortunately it does not solve my problem.

Kevin Musters
Replied On May 25, 2004 05:19 PM UTC

I have gone over my code and your solution does benefit somewhat, but the problem I am facing is that I need to click on the cell and change a flag, no matter where I click, no matter what cell. Thanks

Administrator [Syncfusion]
Replied On May 25, 2004 07:26 PM UTC

What event are you trying to use? Have you tried grid.MouseDown or grid.MouseUp?


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