Hi,
I found this thread http://tapestry.markmail.org/thread/ighytyllingci364
that referenced overriding the grid header ala <p:someCellHeader> ...
</p:someCellHeader>, but it seems there was no response. I'm working on
overriding the headers for most of the grids in my application to use
built in search fields rather a separate search form. However, when I
override the Cell Headers the standard sorting link and icon is
understandably gone.
Does Tapestry provide any means to include the sorting back into a Cell
Header override. If not, what am I looking at in terms of replacing it?
I noticed the sort links point to the .grid.columns:sort/<columnName>
event. Can I possibly create a Link pointing to this event with the
appropriate columnName and have it working?
Alternately, I'm looking at GridColumns and wonder if it is possible to
extend that Component. I'm unsure of how I would use it with a grid though.
Worst-case scenario I'm imagining is writing an EventLink per Header and
writing custom event handlers that manipulate the data set provided via
Property to the source attribute of the Grid. That seems messy and like
a lot of work, though. I can't think of how that could be encapsulated
into a re-usable Component.
Thanks,
Rich
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org