Thursday 15 March 2012

jquery - Keep position for a row when sorting -


In my table (JQuery Datatables), there is a line (the last one) that should always be in the end (this is

  & lt; td & gt; & lt; span class = "last-row"> my VALUE  

/ span & Gt; & lt; / TD & gt;

How can I always create sorting functions at the end of this row, no matter which column is being ordered It does not matter if the sorting is ASC or DESC?

only To exclude you for suggesting the hanging, you can use the element tfoot to define the footer lines in your table.

  & Lt; Table & gt; & lt; thead & gt; & lt; tr & gt; & lt;! - Modern browsers know how to render this, this screen reader and other helpful techniques - & gt; & lt; Td> Header 1  & lt; td & gt; Header 2 & lt; / td & gt; & lt; Td> Header 3 & lt; / Td> & Lt; / TR & gt; & Lt; / Thead & gt; & Lt; Tfoot & gt; & Lt; -! Ditto - & gt; & Lt; TR & gt; & Lt; Td colspan = "3" & gt; Footer text & lt; / Td> & Lt; / TR & gt; & Lt; / Tfoot & gt; & Lt; Tbody & gt; & Lt ;! - Regular HTML Rows & amp; Here Colonel - & gt; & Lt; / Tbody & gt; & Lt; / Table & gt;    

No comments:

Post a Comment