vKorpiklaani

On , in , by

Forum Replies Created

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • in reply to: Raidplanner and latest JQuery #848
    vKorpiklaani
    Member

    I was able to resolve conflicts between jQuery and MooTools so far, so I switched back to original script you had, but added few lines so it will sort by specific column 🙂

    in reply to: Raidplanner and latest JQuery #845
    vKorpiklaani
    Member

    You can see the results at http://dasubel.org/v2/roster/tera 🙂

    in reply to: Raidplanner and latest JQuery #844
    vKorpiklaani
    Member

    I just tested it back in the original script and used Firebug to track error … error is:

    this.thead is null
    var numOfHeaders = this.thead.rows[0].getElements(‘th’).length in HtmlTable.Extended.js line 63

    hope this helps

    the solution i found to use DataTables plugin for JQuery which pretty much does same thing as your script for table sort right now:

    http://datatables.net/

    here is what i changed your code to:

    function sortTable()

    {

    $(‘#roster_table’).dataTable( {

    “aaSorting”: [[ 1, “desc” ]] , “bJQueryUI”: true, “bPaginate”: false

    } );

    }

    $(document).ready(sortTable);

    Of course you need the main jquery lib included before this ( i have it in the header of joomla template)

    Cheers 🙂

    in reply to: Raidplanner and latest JQuery #839
    vKorpiklaani
    Member

    The table sort script you have in the module is using MooTools which conflicts with JQuery on my site … I found a plugin to JQuery to do similar sorting and I put it in the module instead of your HTML.Extended script calls and it works good 🙂

Viewing 4 posts - 1 through 4 (of 4 total)