4 Replies Latest reply on May 2, 2008 6:50 PM by wrkoch

    Buttons in a datagrid

    wrkoch Level 1
      I've got a datagrid running with buttons in it using an item renderer. I need to trap the button click independent of a click on the grid. Problem is when a button is clicked, the datagrid click event also fires. I figured out how to use the itemClick event and the columnIndex to reject clicks from the button column. Only problem is if you click in the button column on the empty space around the buttons, the datagrid click fires but since I can't distinguish it from a button click, I can't the code I need to.

      I can't figure out how to correct that issue. See attached code

      Any ideas?