Datatable row cell coloring

UI Components for JSF
Post Reply
almillo
Posts: 9
Joined: 31 Mar 2011, 19:03
Location: Argentina

10 Jun 2011, 17:48

Hi, I'm using the datatable component and I have the next situation:

I need to put any color in the rows depending on whether it meets certain condition. I saw the example in http://www.primefaces.org/showcase/ui/d ... loring.jsf
But that I need is paint a row except for a only cell in this row that want to paint in other color...

for example:

Table:

[ colum ] [ colum ] [ colum ] [ colum ]
[row-red] [row-red ] [row-red ] [row-Blue ]
[row-red] [row-red ] [row-red ] [row-Grey ]
[row-red] [row-red ] [row-red ] [row-black]

It's clear the example?

it is possible?

your help would be appreciated.

Thanks in advance.

almillo
Posts: 9
Joined: 31 Mar 2011, 19:03
Location: Argentina

13 Jun 2011, 20:56

nobody knows?

almillo
Posts: 9
Joined: 31 Mar 2011, 19:03
Location: Argentina

22 Jun 2011, 16:13

Up...

please I need to know if it is possible to format the table with that

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 34 guests