• Resolved sportyguy209

    (@sportyguy209)


    Thank you for your plugin!

    Here is my table code, but all the rows are still sorting. Please let me know what I’m doing wrong.

    TIA

    Peter

    <table class=”tablesorter”>
    <thead>
    <tr>
    <th>Country</th>
    <th>State</th>
    <th>City</th>
    <th>Name</th>
    <th class=”sortless”>Address</th>
    <th class=”sortless”>Telephone</th>
    <th class=”sortless”>Website</th>
    </tr>
    </thead>
    <tbody>

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter sportyguy209

    (@sportyguy209)

    I apologize, I was wrong and the rows I don’t want to sort, are not sorting. I think the problem was a caching issue that wasn’t displaying it correctly to me.

    However, I do have another question. Is there a way to have a default sort with your program?

    Thanks,

    Peter

    Plugin Author Farhan Noor

    (@farhannoor)

    Hi Peter,

    you mixed rows n columns, the above code you wrote actually make last 3 columns un-sortable.

    Yes you can apply default sorting or initial sorting. have a look at the docs HERE.

    Farhan

    Thread Starter sportyguy209

    (@sportyguy209)

    Hello Farhan:

    I wish I could edit my posts…:-(

    Sorry, I totally screwed up explaining everything. I wanted users not to be able to sort on the last three columns, so your plugin is working perfectly! My mistake was when I first checked my site after adding the class to the table, the plugin didn’t appear to work because of the caching on my site.

    Thanks for the info on setting the initial sort. I will give that a try and expect it to work as well.

    Thanks again for a very helpful plugin!

    Peter

    Plugin Author Farhan Noor

    (@farhannoor)

    Hi peter,

    Can you please rate this plugin HERE ?? Thank you in advance.

    Best regards
    Farhan

    Thread Starter sportyguy209

    (@sportyguy209)

    Hello Farhan:

    Done. Thanks again!

    Peter

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Not able to eliminate some rows from sorting’ is closed to new replies.