4 Replies Latest reply on Oct 1, 2009 7:25 AM by Justin G

    dataTable and onRowClick question

    Justin G Newbie

      Hi,

      I'm using an a4j:support tag for the onRowClick event of a rich:dataTable. This ajax request essentially selects the row and reRenders some other panel on the page. However, I also have a4j:commandLink's in the table row's to perform other tasks (e.g., delete a row).

      When I click the a4j:commandLink, two requests are submitted: the commandLink followed by the onRowClick request. Is it possible to cancel the onRowClick request if the a4j:commandLink is clicked?

      Thanks.