You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by theAnthony <an...@gmail.com> on 2012/08/21 08:44:42 UTC
AjaxFallbackHeadersToolbar sort indicator
Hi,
I'm wondering if there is a way to add a CSS class to the (or one of the
sub-tags) from an AjaxFallbackHeadersToolbar in order to add a small sort
indicator.
I assume there is always a way but what would be following you the best
practice ?
Thanks,
Anthony
--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/AjaxFallbackHeadersToolbar-sort-indicator-tp4651388.html
Sent from the Users forum mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: AjaxFallbackHeadersToolbar sort indicator
Posted by Martin Grigorov <mg...@apache.org>.
Hi,
One way is to extend the component and provide your own .html (one
with the CSS classes set).
Another way is to use JavaScript to add the CSS:
jQuery(selectorForTh).addClass('yourClass')
On Tue, Aug 21, 2012 at 9:44 AM, theAnthony <an...@gmail.com> wrote:
> Hi,
>
> I'm wondering if there is a way to add a CSS class to the (or one of the
> sub-tags) from an AjaxFallbackHeadersToolbar in order to add a small sort
> indicator.
>
> I assume there is always a way but what would be following you the best
> practice ?
>
> Thanks,
>
> Anthony
>
>
>
> --
> View this message in context: http://apache-wicket.1842946.n4.nabble.com/AjaxFallbackHeadersToolbar-sort-indicator-tp4651388.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
--
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org