On Fri, Apr 11, 2008 at 3:17 PM, SourceForge.net
<[EMAIL PROTECTED]> wrote:
>
>  Read and respond to this message at:
>  https://sourceforge.net/forum/message.php?msg_id=4900159
>  By: goelshek
>
>  I am using pagination+sorting with the id_rowNum feature of displaytags. The
>  resultant table might look like:
>
>  ROW   USER NAME
>  1     Name1
>  2     Name2
>  3     Name3
>
>  When I click on the USER NAME header to sort, and assuming the table is 
> sorted
>  in descending order, the table now looks like:
>
>  ROW   USER NAME
>  3     Name3
>  2     Name2
>  1     Name1
>
>  Is there a way to stop the first column from being tied up with the entire 
> table?
>  I want the rowNum to stay in order but everything else gets sorted. Does 
> anyone
>  have a solution to this?
>
>  Thanks.

You'll probably have to manage those numbers yourself.  DisplayTag
doesn't store what number goes with what row, it just increments a
counter while it's building up the table and passes that value on.  So
if you want the row numbers to be part of the data, you'll have to
treat it that way.
  (*Chris*)

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to