• Resolved inzenx

    (@inzenx)


    Hi there.

    Today i wanted to finnish my table. But i ran into a new problem.

    I have some table containing numbers and letters. These are not sorting right. thousand come in between the hundreds.

    I allready have added "aoColumnDefs": [ { "bSortable": false, "aTargets": [ 0,1,9 ] } ] to the custom, do i have to add more ? – The special extension is installed.

    You may see the site here -> CLICK 😉

    Thanks in Advance

    http://wordpress.org/extend/plugins/tablepress/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    You will now still have to tell the plugin to use the Sorting Plugins Extension. For that, please extend the “Custom Commands” to

    "aoColumnDefs": [ { "bSortable": false, "aTargets": [ 0,1,9 ] }, { "sType": "formatted-num", "aTargets": [ 2, 4, 5, 6, 8 ] } ]

    Regards
    Tobias

    Thread Starter inzenx

    (@inzenx)

    Thanks worked. Now i only need one thing. It dident work for the column “tale”.

    Is it possible to somehow tell the plugin that “Fri” has higest value.

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    good to hear that this helped!

    I’m not really sure what to do with the “Fri” values… You could maybe try adding some hidden number to that cell, like

    Fri<span style="display:none;">10000</span>

    Regards,
    Tobias

    Thread Starter inzenx

    (@inzenx)

    Why dident i think of that 😉

    Worked like a charm – Except that the <span style="display:none;">10000</span> Has to be in front 😉

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    awesome! 🙂 Great to hear that this worked! Thanks a lot for the confirmation!

    Best wishes,
    Tobias

    P.S.: In case you haven’t, please rate TablePress here in the plugin directory. Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Sorting Problem – Again :(’ is closed to new replies.