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

How to catch the event for checkbox in databoundgrid?

Hi, I have a databoundgrid which has a column with bit datatype (true/false). it is shown as a checkbox. I would like to catch the event when the user check/uncheck it so I can trigger other tasks as database update, etc. What would be the best way to do it in databoundgrid? Thanks a lot Chris

3 Replies

AD Administrator Syncfusion Team March 7, 2005 09:57 AM

Try the gridDataBoundGrid1.CheckBoxClicked event.


AD Administrator Syncfusion Team March 8, 2005 10:07 AM

Thanks. It works. Another question, how can I catch the keypress event in some cells. I used keypress event but I cannot find colIndex from the argument. >Try the gridDataBoundGrid1.CheckBoxClicked event.


AD Administrator Syncfusion Team March 8, 2005 12:13 PM

You can get the row and col from grid.CurrentCell.RowIndex/ColIndex.

Loader.
Live Chat Icon For mobile
Up arrow icon