Hi,

I have a dataTable with three columns. The first column shows textual
data and the second and third columns show a detail icon and a delete
icon respectively.

I have set the columnClasses attribute of the dataTable like this:

 columnClasses="raCol, caCol, caCol"

The CSS classes are defined like this:

 .raCol {
    text-align: right;
 }

 .caCol {
     text-align: center;
  }

So the textual data inside the first column are right aligned and
icons inside the second and third columns are center aligned.

Now the problem is that the header columns all are center aligned. The
problem is that the headerClass only accepts one class and not a comma
separated list of classes.

Is there a solution to this problem already discussed? We might be
able to modify the headerClass so that it can recieve a comma
separated list of classes. This way applications built on top of other
JSF implementations will still work on MyFaces, however the MyFaces
apps might not work seamlessly on other implementations.

Any ideas how can I fix this simple problem :-?

Regards,
Behi

--
"We can only see a short distance ahead,
but we can see plenty there
that needs to be done." - Alan Turing

"Science is a differential equation. Religion
is a boundary condition" - Alan Turing

Behrang Saeedzadeh
http://www.jroller.com/page/behrangsa
http://my.opera.com/behrangsa

Reply via email to