I agree there should be a parameter to tell the Grid to use the icon or not.
But in the mean time; what about adding the following to your css?

.t-sort-icon{
        display:none;
}

Cheers,
Joost



-----Original Message-----
From: Otho [mailto:[EMAIL PROTECTED] 
Sent: Monday, January 14, 2008 9:25 AM
To: Tapestry users
Subject: Re: [T5] Override GridColumn template?

That doesn't work. Tapestry insists on taking the original classes.
It did work somehow though for one showoff (which is good ;) ) but doesn't
anymore now. That is a bit puzzling.
But nonetheless: Extending grid to make my own design with all associated
components is probably not the most maintainable thing taking the early
status of tap5 into account.
Also: Striped  tables are the normal usecase for anything bigger than 5
columns and 20 rows. I suggest that this is taken into the grid component as
configurable parameters. like default with no row class, uniform with the
parameter rowclass and striped with a parameter evenRowClass. Either
alternating with default or with rowClass.
Regards,
Otho


2008/1/13, Sven Homburg <[EMAIL PROTECTED]>:
>
> extends your own grid column class by the tapestry' GridColumns class
> in your duplicated package and adjust (override) the method
> "public Asset getIcon()" to your requirements.
>
> 2008/1/13, Otho <[EMAIL PROTECTED]>:
> >
> > One strange thing happened: I did an override of the GridColumns.tml by
> > duplicating the package structure and putting an altered file therein.
> > Goal
> > was to get rid of the sortable image which is fine for small tables but
> > just
> > takes up too much space for the tables I use.
> > This worked fine when using the replace at runtime feature of Tap5 but I
> > would rather have it as a default without being forced to compile the
> > template and css at runtime.
> > Is there any way to do this without compiling and without writing a
> > parameter for each and every column?
> > Any hints would be appreciated,
> > Otho
> >
>
>
>
> --
> with regards
> Sven Homburg
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to