5 Replies Latest reply on Jun 18, 2007 3:56 PM by AwesomeDigital3

    itemClick Of dataGrid

    AwesomeDigital3 Level 1
      I have a data grid where when the user selects a row, I want to change the state

      But I don't want to change the state if they click on the column heading to sort the columns.

      In my function that I call from the itemClick attribute

      I can not just say if (myDatGrid.selectedIndex > -1)

      Since one row may already be selected when they click at the top of the column.

      How in my function, can I tell if the click was on a row, or in the header?