add asc or desc icon indicator for sorting in ajaxFallbackDefaultDatatable
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
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 : url(../images/arrow_off.png) no-repeat right; } Regards, Gabriel. fachhoch wrote: I use AjaxFallbackDefaultDatatable ,please tell me if I can add an icon for sortable column indicating asc or desc -- View this message in context: http://old.nabble.com/add-asc-or-desc-icon-indicator-for-sorting-in-ajaxFallbackDefaultDatatable-tp26719310p26719402.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: add asc or desc icon indicator for sorting in ajaxFallbackDefaultDatatable
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 asc or desc - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: add asc or desc icon indicator for sorting in ajaxFallbackDefaultDatatable
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 th.wicket_orderDown a { background : url(../images/arrow_down.png) no-repeat right; } tr.headers th.wicket_orderNone a { background : url(../images/arrow_off.png) no-repeat right; } Regards, Gabriel. fachhoch wrote: I use AjaxFallbackDefaultDatatable ,please tell me if I can add an icon for sortable column indicating asc or desc -- View this message in context: http://old.nabble.com/add-asc-or-desc-icon-indicator-for-sorting-in-ajaxFallbackDefaultDatatable-tp26719310p26719912.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: add asc or desc icon indicator for sorting in ajaxFallbackDefaultDatatable
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 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 asc or desc - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- View this message in context: http://old.nabble.com/add-asc-or-desc-icon-indicator-for-sorting-in-ajaxFallbackDefaultDatatable-tp26719310p26719932.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: add asc or desc icon indicator for sorting in ajaxFallbackDefaultDatatable
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: http://old.nabble.com/add-asc-or-desc-icon-indicator-for-sorting-in-ajaxFallbackDefaultDatatable-tp26719310p26720205.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org