• Post Reply Bookmark Topic Watch Topic
  • New Topic

how to set multpile style classes for headerClass attribute in datatable???

 
gopal kishan
Ranch Hand
Posts: 99
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI All,

i want to apply different CSSstyles for my header columns,

how to specify styleclass names

i tried


but in html output it shows all the styleclasses for one header. it is not correct.



i tried giving comma then also it is same.

but for columnClasses and rowClasses , it set only one style class for <td> and <tr>.

how to do it in headerclass.

thanks in advance
Gopal
 
gopal kishan
Ranch Hand
Posts: 99
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

how to specify width for each column when you use datatable???

i have 5 columns and i need to set different width for each column.


how to do that???
 
Gerardo Tasistro
Ranch Hand
Posts: 362
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think you're missing the coma (,) between the styles.

Regarding the column width....

http://www.coderanch.com/t/211242/JSF/java/colspan


Deja-vu anyone?
 
gopal kishan
Ranch Hand
Posts: 99
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
no i tried using comma(,) then also it is not working.


when you use comma for columnClasses and rowClasses it works fine.


but not with headerClass??
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!