add asc or desc icon indicator for sorting in ajaxFallbackDefaultDatatable

2009-12-09 Thread tubin gen
I use AjaxFallbackDefaultDatatable ,please tell me if I can add an icon for sortable column indicating asc or desc

Re: add asc or desc icon indicator for sorting in ajaxFallbackDefaultDatatable

2009-12-09 Thread TahitianGabriel
You can use CSS like this : 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 { background :

Re: add asc or desc icon indicator for sorting in ajaxFallbackDefaultDatatable

2009-12-09 Thread Igor Vaynberg
you can do it via css, afair wicket will already set some css classes on the th to indicate the sort direction. -igor On Wed, Dec 9, 2009 at 3:04 PM, tubin gen fachh...@gmail.com wrote: I use AjaxFallbackDefaultDatatable   ,please tell me if I can add an icon for sortable column  indicating

Re: add asc or desc icon indicator for sorting in ajaxFallbackDefaultDatatable

2009-12-09 Thread fachhoch
are these images available with wicket distribution ? even the wicket examples page does not have these images ? TahitianGabriel wrote: You can use CSS like this : tr.headers th.wicket_orderUp a { background : url(../images/arrow_up.png) no-repeat right; } tr.headers

Re: add asc or desc icon indicator for sorting in ajaxFallbackDefaultDatatable

2009-12-09 Thread fachhoch
if I do it with css can I add accessibility information , if a page uses image I can add accessibility information using alt attribute , what in case of image from css ? igor.vaynberg wrote: you can do it via css, afair wicket will already set some css classes on the th to indicate the

Re: add asc or desc icon indicator for sorting in ajaxFallbackDefaultDatatable

2009-12-09 Thread TahitianGabriel
You can use your own images or use the one that are within the wicket-examples into the 'images' directory. fachhoch wrote: are these images available with wicket distribution ? even the wicket examples page does not have these images ? -- View this message in context: