You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Blšták Peter <pe...@softec.sk> on 2009/11/18 14:56:34 UTC
Grid sort images override
Hi
Is there any suggested way how to change default images used by GridColumns to indicate sort column state.
I would like to use different GIU design.
In other words, I need to override usage of these images:
org/apache/tapestry5/corelib/components/sortable.png
org/apache/tapestry5/corelib/components/sort-asc.png
org/apache/tapestry5/corelib/components/sort-desc.png
Thanks
P.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: Grid sort images override
Posted by "Joost Schouten (ml)" <jo...@jsportal.com>.
or you use css:
table.t-data-grid thead tr th a + a {
display:none;
}
table.t-data-grid thead tr th a.t-sort-column-descending {
background-image:url(path/to/your/image);
}
cheers,
Joost
Carl Crowder wrote:
> You could make images with the same name inside the same folder
> structure inside your code. Your code will be on the classpath first
> (especially if using Maven) and therefore will override. There may be
> a less hacky way though!
>
> Blšták Peter wrote:
>> Hi
>>
>> Is there any suggested way how to change default images used by
>> GridColumns to indicate sort column state.
>> I would like to use different GIU design.
>>
>> In other words, I need to override usage of these images:
>>
>> org/apache/tapestry5/corelib/components/sortable.png
>> org/apache/tapestry5/corelib/components/sort-asc.png
>> org/apache/tapestry5/corelib/components/sort-desc.png
>>
>> Thanks
>>
>> P.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: users-help@tapestry.apache.org
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: Grid sort images override
Posted by Carl Crowder <ca...@taptu.com>.
You could make images with the same name inside the same folder
structure inside your code. Your code will be on the classpath first
(especially if using Maven) and therefore will override. There may be a
less hacky way though!
Blšták Peter wrote:
> Hi
>
> Is there any suggested way how to change default images used by GridColumns to indicate sort column state.
> I would like to use different GIU design.
>
> In other words, I need to override usage of these images:
>
> org/apache/tapestry5/corelib/components/sortable.png
> org/apache/tapestry5/corelib/components/sort-asc.png
> org/apache/tapestry5/corelib/components/sort-desc.png
>
> Thanks
>
> P.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org