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

Checkboxes in gridDataBoundGrid

When I select a row, no matter where in that row I select, I will highlight the row using the row style colour change. A CheckBox will also change it''s state (checked, unchecked). The problem I am facing is that the cell with the Checkbox only changes state if the CheckBox is actually clicked. The Checkbox is so small, is there anyway to either increase the size of the checkbox, or make the region around the CheckBox in that cell change the state (checked, unchecked).

2 Replies

AD Administrator Syncfusion Team May 25, 2004 03:09 PM

The checkbox has no property like this. But you could subscribe to the CellClick event. This handler is hit when you click into a cell. If you click a checkbox cell, it will be hit only if you do not hit the check. So, in the handler is e.RowIndex and e.ColIndex point to your checkbox, you could flip the value of the cell.


AD Administrator Syncfusion Team May 26, 2004 06:03 AM

Problem solved, thanks. >The checkbox has no property like this. But you could subscribe to the CellClick event. This handler is hit when you click into a cell. If you click a checkbox cell, it will be hit only if you do not hit the check. So, in the handler is e.RowIndex and e.ColIndex point to your checkbox, you could flip the value of the cell.

Loader.
Live Chat Icon For mobile
Up arrow icon