3

In the Quantum grids of DevExpress, how to restrict the check box of the click b...

 2 years ago
source link: https://www.codesd.com/item/in-the-quantum-grids-of-devexpress-how-to-restrict-the-check-box-of-the-click-box-of-a-cell-with-the-actual-check-box-not-the-entire-cell.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

In the Quantum grids of DevExpress, how to restrict the check box of the click box of a cell with the actual check box, not the entire cell

advertisements

I use Delphi (2010) and a DevExpress Quantum Grid (v. 6.52)

When I have a TcxGridColumn with a CheckBox editor, the checkbox toggles when the user clicks anywhere within the cell. I want to restrict this so that the user has to click on the actual checkbox.

Is there an easy way to do this? We have an enormous amount of grids in our application, many with checkbox editors, so I'm hoping for a "magic" little trick to do this for me. I would hate to write custom code for every grid in our application :-/


If you (or your customers) want that the checkbox doesn't change immediately if you click in the cell, then it could help if you set the ImmediatePost property to false.

Related Articles

How to get a Django admin form field for a models.Decimal file with a value of 0 not to use the E notation

We use django admin as a client-facing backend, so we need to make it user friendly. I have a model with a bunch of DecimalFields representing nutritional data. The fields all look like this: g_carbs = DecimalField(max_digits=13, decimal_places = 8,

How do I change the entire style of a code button behind in real time?

I have a button that flashes. I would like to change the entire button style from a resource dictionary when ever it flashes. I would think it would be like this: DesktopWindow.AlertButton.Style = (Style)DesktopWindow.Resources["GreenAlertButtonStyle

How to integrate the title with the entire page

I'm trying to fit this title to the entire page. For some reason, there is a padding around the text that's not allowing me to fit it. I set the padding of the column (Bootstrap) to 0, but that doesn't seem to help. As soon as I increase the font-siz

Content of the WPF grid not covering the entire width

SUMMARY To make it clearer for future readers, here is a summary of the problem and its fix. My grid sits in a page, that is used as the content for a tabitem. At runtime, the grid refused to fill the entire tabitem area, as seen in the screenshots b

How to close a popup in Silverlight by clicking outside the control?

In my Silverlight UI, I have a button that when clicked pops up a control with some filtering parameters. I would like this control to hide itself when you click outside of it. In other words, it should function in a manner similar to a combo box, bu

How to copy the entire file to the clipboard with line numbers in Vim

I enabled vim-gtk, opened a file, did :set nu, but the command :%y+ does not copy the line numbers to the clipboard. That may be resolved in visual mode (I do not know how to use it), but sometimes files are very long and I guess it is impractical. A

How to take a screenshot for the entire screen regardless of which application is most in iOS 7 (Jailbroken)

Before iOS7 I use UIGetScreenImage() function to take the screenshot easily, but in iOS7, it becomes deprecated, now are there any good methods to archive this?Thank you! Addition: I need take screenshot for the entire screen at any viewI came across

How do I make a process when some clicks on the Android menu button - Using a sencha application touch2

I have a sencha touch 2 based mobile app. I want to show a menu when users clicks on the menu button of android device. How can I do that.If you are wrapping your application with phonegap/cordova, see the Cordova API. If you are not see this questio

How to select (highlight and receive focus) the entire text of the cell selected in Delphi DBGrid?

I have a simple DBGrid, DBNavigator, and an 'Edit' Button which simply calls DBNavigator.BtnClick(nbEdit); When the user clicks 'Edit', I want the text in the selected cell (just the text - not the whole cell) to be highlighted - as if ready to be ov

How can I find a needle in a hay palette and show the entire line?

How can I find a needle in a haystack, and show the entire line? log.txt : Log #5731: JohnDoe has arrested JaneDoe Log #5732: DonDoe has arrested JaneDoe I want to search for "JohnDoe" and display the whole line Log #5731: JohnDoe has arrested J

How to reset the image in UIImageView without loading the entire view?

I have a xib which has 1 UIImageView and 1 Toolbar. Toolbar has two buttons save and reset. In the simulator i can make some drawing on the image in the UIImageView. Now i want that if i click on the reset button then i would get the original image i

How to zoom only a particular slice in the pie chart (Core oter Plot) and not the entire chart

How to zoom only a particular slice in pe chart (CorePlot iOS) and not the entire piechart on user interaction. I know the following method gives the slice touched: -(void)pieChart:(CPTPieChart *)plot sliceWasSelectedAtRecordIndex:(NSUInteger)index b

ANTLR: How to avoid re-parsing the entire file when the user modifies the text

edit: For those interested/who want to see exactly what I'm doing, the source code of my app can be found here. I'm building a code editor app with C# that offers syntax highlighting. I'm currently using ANTLR for C# to parse the code in order to hig

Polymer 1.x: How to Reset the Entire Application After End of Session

I have a Polymer app. When a user logs out, I want to reset the entire app to its original state. (Right now, when the user logs back in after logging out, the app returns the user to the app state and page they were on when they logged out.) Is ther

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK