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 07:09 PM UTC

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 10:03 AM UTC

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.
Up arrow icon