views:

349

answers:

1

Hi there,

is there a way to change the sort icons of the datatable?

I know, it is possible to set the tag attribute sortIcon for the rich:column but this only replaces the icon which is set at the generated <img> tag. There seems no way to change the align of this img or the size.

+1  A: 

You can redefine the css class .rich-sort-icon.

For example try playing with the float css attribute.

Bozho
Which doesn't affects the positioning of the img tag. The tag is always placed after the column text.
asrijaal
try playing with the `float` attribute and you will probably find ways ;)
Bozho
Meh this is a little bit naughty but ok. Thought there would be a "nicer" way :) Thanks Bozho
asrijaal
Naughty? CSS is there for styling :) HTML is just markup. Oh, you forgot to accept his answer.
BalusC
Styling a tag element to be placed before an other element instead of switching tag positions is naughty for me yes ;)
asrijaal