I am using Richfaces 4. I have a <rich:datatable /> with 4 columns. In that, first column is a <a4j:commandlink /> . I need to change the background color of the entire row when I click on the link. On click of the link I am calling action listener, and oncomplete I am rerendering the page. How do I change the color of the clicked row ?
I am using Richfaces 4. I have a <rich:datatable /> with 4 columns. In
Share
Add on your link the onclick method :
The Script (Using jQuery) to find the tr of the cell and apply style :
and the css for example
You can check this conversation to further information.