0 Replies Latest reply on Oct 9, 2008 7:03 AM by Phil Rogers

    Disabling componentControl for onRowClick on one column in a

    Phil Rogers Newbie

      Hi,

      I have a component control which pops up a context menu on a dataTable using the onRowClick event.

      Now I want to add a commandButton to a column on the table which calls a backend event and shows a modal panel.

      However, when I click the button, the context menu is displayed as well as the modal panel.

      I thought perhaps I could use some javascript to prevent the event from firing in that particular column or perhaps I could send a parameter to the context menu containing the column id which I could use in the rendered attribute of the context menu. I also thought about adding the component control to the column but it does not support the onClick event.

      Has anyone had to do this before ?

      Thanks very Much

      Phil