setSortedColumnNumber does not reflect in html
----------------------------------------------

         Key: DISPL-359
         URL: http://jira.codehaus.org/browse/DISPL-359
     Project: DisplayTag
        Type: Bug

  Components: HTML Generation, Decorators  
    Versions: 1.1    
    Reporter: L Cheung
     Fix For: 1.1.1


I attempted to set a sorted column number in a custom table decorator that I 
created. Let's say if I do tableModel.setSortedColumnNumber(2), the generated 
html table does sort by the 3rd column, but <th class="sortable sorted order1"> 
is showing up in my default sort column (1st column) instead.

The problem is displaytag generates HeaderClass before any custom decorator has 
a chance to set any values. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



_______________________________________________
displaytag-devel mailing list
displaytag-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-devel

Reply via email to