Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=2922258
By: jimpo

Is there any way to access the state of displaytag? Specifically, I would like
to know which column the table is sorted by, and in which order.

P.S. What I am trying to achieve is to have those "little triangles" that show
which column is sorted in table headers appear right after the header text.
With stylesheets I only know how to make them appear on the right side of the
column, which leaves too much white space between the title text and the icon.
If I can access the sorting state cleanly, I can prepare different title values
based on the state.

I see that tag uses d-28822-s=3 type of parameters to set the sorting, but I'd
rather get the information in a better way than analyzing the auto-generated
parameters (which may change in subsequent releases, etc).


______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit: 
https://sourceforge.net/forum/unmonitor.php?forum_id=249318


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
displaytag-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to