• Register
    • Help

    striker  0 Items
    Currently Supporting
    • Home
    • News
    • Forum
      • Try XenForo Demo
      • New Posts
      • FAQ
      • Calendar
      • Community
        • Groups
        • Albums
        • Member List
      • Forum Actions
        • Mark Forums Read
      • Quick Links
        • Today's Posts
        • Who's Online
      • Sponsor
        • Sponsor a Feature
        • List of Donors
    • Wiki
    • Support
    • What's New?
    • Buy Now
    • Manual
    • 
    • Forum
    • VaultWiki How-Tos
    • VaultWiki Questions
    • Are Sortable Tables Still Doable?

    1. Welcome to VaultWiki.org, home of the wiki add-on for vBulletin and XenForo!

      VaultWiki allows your existing forum users to collaborate on creating and managing a site's content pages. VaultWiki is a fully-featured and fully-supported wiki solution for vBulletin and XenForo.

      The VaultWiki Team encourages you to join our community of forum administrators and check out VaultWiki for yourself.

    Results 1 to 5 of 5

    Thread: Are Sortable Tables Still Doable?

    • Thread Tools
      • Show Printable Version
    1. July 23, 2011 #1
      Mokonzi
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • Visit Homepage
      • View Articles
      Mokonzi is offline
      Senior Member
      Join Date
      January 19, 2009
      Location
      South West Scotland
      Posts
      158
      Rep Power
      225

      Are Sortable Tables Still Doable?

      I've been trying to get some sortable tables running, and yet everything I've tried so far has failed to make them sortable.

      Can you point me in the direction of an existing sortable table that works?
      Reply With Quote Reply With Quote

    2. July 23, 2011 #2
      pegasus
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • Visit Homepage
      • View Articles
      pegasus is offline
      VaultWiki Team
      Join Date
      March 28, 2004
      Location
      New York, NY
      Posts
      2,959
      Blog Entries
      18
      Rep Power
      688
      The table needs to be class "sortable",
      and it needs to use ! to create table head cells. The th define the sort type for their columns, as any of the following classes:
      • sorttable_alpha
      • sorttable_ddmm
      • sorttable_mmdd
      • sorttable_nosort
      • sorttable_numeric
      • sorttable_sorted
      • sorttable_sorted_reverse

      If no class is defined, I believe it defaults to sorttable_alpha... The headings of the sortable columns become clickable.
      AlphaotherNumeric
      A textother2 things
      B textother4 things
      C textother1 thing
      Reply With Quote Reply With Quote

    3. July 24, 2011 #3
      Mokonzi
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • Visit Homepage
      • View Articles
      Mokonzi is offline
      Senior Member
      Join Date
      January 19, 2009
      Location
      South West Scotland
      Posts
      158
      Rep Power
      225
      Thanks pegasus, that helps a lot, I was wondering about how it all worked...

      I'm managed to get one of my own working, so having a play around with the settings a bit.
      Reply With Quote Reply With Quote

    4. June 10, 2012 #4
      popit
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • View Articles
      popit is offline
      Junior Member
      Join Date
      June 9, 2012
      Posts
      9
      Rep Power
      0
      I used the code above and my tables in html seem to be converting to BBCODE tables in the wiki vb4
      and are not sortable - any ideas?


      Code:
      [TABLE class="sortable"] [TR] [TD="class: blocksubhead sorttable_alpha"]Alpha[/TD] [TD="class: blocksubhead sorttable_nosort"]other[/TD] [TD="class: blocksubhead sorttable_numeric"]Numeric[/TD] [/TR] [TR] [TD]A text[/TD] [TD]other[/TD] [TD]2 things[/TD] [/TR] [TR] [TD]B text[/TD] [TD]other[/TD] [TD]4 things[/TD] [/TR] [TR] [TD]C text[/TD] [TD]other[/TD] [TD]1 thing[/TD] [/TR] [/TABLE]
      Reply With Quote Reply With Quote

    5. June 10, 2012 #5
      pegasus
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • Visit Homepage
      • View Articles
      pegasus is offline
      VaultWiki Team
      Join Date
      March 28, 2004
      Location
      New York, NY
      Posts
      2,959
      Blog Entries
      18
      Rep Power
      688
      vBulletin > 4.1.3 has its own (different) Table BB-Code. If you want to use VaultWiki's instead, you need to enable it in the Wiki Code Manager section of the AdminCP (look for a setting like: Parse this BB-Code is wiki pages / non-wiki posts?)
      - lead developer for VaultWiki
      Reply With Quote Reply With Quote

    Similar Threads

    1. Creating Tables
      By bazaarocommunity in forum VaultWiki Questions
      Replies: 4
      Last Post: September 22, 2015, 8:13 AM
    2. User editable tables
      By diyautoftw in forum Pre-Sales Questions
      Replies: 2
      Last Post: August 14, 2012, 10:27 AM
    3. Article Tables Broken
      By bigtree in forum VaultWiki Questions
      Replies: 14
      Last Post: July 5, 2010, 11:02 AM
    4. Importing tables?
      By Applequest in forum Pre-Sales Questions
      Replies: 1
      Last Post: January 30, 2010, 5:13 AM
    5. How do I create Tables?
      By John in forum VaultWiki Questions
      Replies: 2
      Last Post: August 9, 2009, 4:30 PM

    Tags for this Thread

    sortable, sortable tables, table, tables

    View Tag Cloud

    Bookmarks

    Bookmarks
    • Submit to Digg Digg
    • Submit to del.icio.us del.icio.us
    • Submit to StumbleUpon StumbleUpon
    • Submit to Google Google

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •  
    • BB code is On
    • Smilies are On
    • [IMG] code is Off
    • [VIDEO] code is
    • HTML code is Off

    Forum Rules

    • Contact Us
    • License Agreement
    • Privacy
    • Terms
    • Top
    All times are GMT -4. The time now is 6:51 PM.
    This site uses cookies to help personalize content, to tailor your experience, and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Learn more… Accept Remind me later
  • striker
    Powered by vBulletin® Version 4.2.5 Beta 2
    Copyright © 2025 vBulletin Solutions Inc. All rights reserved.
    Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
    Copyright © 2008 - 2024 VaultWiki Team, Cracked Egg Studios, LLC.