Re: Datatable, style on ascending/descending

2010-03-23 Thread loicd
OK I'll try this! TahitianGabriel wrote: > > You are welcome. > > You can also add a padding if you don't want the text to overlap the image > (it's nicer!) > > /** image on the right */ > tr.headers th.wicket_orderDown a { > padding-right: 25px; > background-image: url(../images/b

Re: Datatable, style on ascending/descending

2010-03-23 Thread TahitianGabriel
You are welcome. You can also add a padding if you don't want the text to overlap the image (it's nicer!) /** image on the right */ tr.headers th.wicket_orderDown a { padding-right: 25px; background-image: url(../images/btn_arrow_down.png); background-position: right;

Re: Datatable, style on ascending/descending

2010-03-23 Thread loicd
Thanks a lot! TahitianGabriel wrote: > > Yes you can with something like that in your CSS : > > tr.headers th.wicket_orderUp a { > background : url(../images/arrow_up.png) no-repeat right; > } > > tr.headers th.wicket_orderDown a { > background : url(../images/arrow_down.png) no-repea

Re: Datatable, style on ascending/descending

2010-03-23 Thread TahitianGabriel
Yes you can with something like that in your CSS : tr.headers th.wicket_orderUp a { background : url(../images/arrow_up.png) no-repeat right; } tr.headers th.wicket_orderDown a { background : url(../images/arrow_down.png) no-repeat right; } tr.headers th.wicket_orderNone a { backgro

Datatable, style on ascending/descending

2010-03-23 Thread Loic Descotte
Hi all, i'm wondering if it is possible to customize easily a datatable component to display a different css style on headers when the row is sorted by ascending or descending (for example a little arrow small arrow up or down). Thanks a lot! -- Loïc