2 Replies Latest reply on Nov 13, 2007 5:45 AM by Daniel Kane

    How to prevent onclick event bubbling (tooltip) ?

    Daniel Kane Novice

      Dear colelagues,

      I have a datatable with a:support event="onRowClick" (row highlighting code). After this event handling , table is being rerendered.

      In one column, I have a:commandlink without action but with tooltip inside.
      Tooltip has event="onclick" .

      The goal : when user clicks on the link, tooltip with additional options should appear .

      What happens : tooltip appears for a moment, but after that onRowClick event happens, table is being rerendered and tooltip dissapears.

      Is there any way to disable onRowClick handling when click has been made on particular component (e.g. a:commandLink) ?
      Or, any other ideas how to achieve my goal ?

      Thank you .