Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter piston12

    (@piston12)

    Thank you very much for everything, rated the plugin 🙂

    Last question, its a bit off topic but still would like to ask.

    What is the best way to “print” out a specific cell data in a post, after the table has been sorted?

    I understand that Single Cell Content Shortcode extension will not do the job because its before sorting.

    Tried to show/hide with:
    [table id=1 hide_rows="all" show_rows="2" hide_columns="all" show_columns="2" /]
    Only to show B2 cell content but it messes up my sorting..

    Thank you very very much!

    Thread Starter piston12

    (@piston12)

    OK, guess writing this got me checking my page again, and the problem was that i had another shortcode on the same page that messed up everything.
    Now im using this code:
    "columnDefs": [ { "type": "numeric-comma", "targets": [ 1 ] } ], "aaSorting": [[1,'asc']]
    Seems to be working fine and doing the job perfect. Is this the right code to use? or should i use this:
    "aoColumnDefs": [ { "sType": "formatted-num", "aTargets": [ 1 ] } ]

    Thanks a lot!

Viewing 2 replies - 1 through 2 (of 2 total)