Laurent Hinoul

“Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live.” - John F. Woods

How to edit the cell layout of a primefaces datatable

Its’ not easy to edit the layout of a datatable cell in Primefaces. Not at all when we’re speaking about the cell borders.

Create a datatable:

Now we want “myValues1” to have a red border with a gray background color while “myValues2” stays in the standard layout. Add the next CSS-code:

1 comment for “How to edit the cell layout of a primefaces datatable

  1. jakeer.mohammed@gmail.com
    11/12/2014 at 07:44

    Excellent …Really Good .

Leave a Reply