0 Replies Latest reply on Mar 6, 2009 9:50 AM by anagai

    how to cancel datagrid itemclick event for one column with a button control

    anagai
      I have a datagrid that displays rows of data that can be edited and deleted. To edit the user clicks on a row and the row data appears above in some text fields and user can edit data then clicks save and datagrid is refreshed with updated data. Also on each row is a delete button. This button will delete the current row of data. The conflict is when user clicks on the delete button the itemclick event of row is activated and edit fields get filled and then data row is deleted. I can create some very inefficient code around this, but i rather not. What I would like to do is cancel the itemclick event in the delete button column so the itemclick event never happens when click on the button. Is this possible?