• Resolved lordvonaki

    (@lordvonaki)


    Hi Tobias,

    I know it’s been discussed many times but I can’t find the answer to solve my issue. On this table: https://www.althos-patrimoine.com/comparateur-de-scpi/ in the 8th column I can’t sort the numbers the right way due to the letters M and the euros sign.

    I followed the threads posted before and found this code: “aoColumnDefs”: [ { “sType”: “numeric-comma”, “aTargets”: [ 2, 3 ] } ]

    What should this code look like in my case, and where should I paste it? I already have installed the extension.

    Thanks,

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    thanks for your question, and sorry for the trouble.

    In your case, this (modernized) version of the “Custom Command” should work:
    "columnDefs": [ { "type": "formatted-num", "targets": [ 7 ] } ]

    Regards,
    Tobias

    Thread Starter lordvonaki

    (@lordvonaki)

    Works perfectly, you rock !

    Thx,

    Lordvonaki

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    no problem, you are very welcome! 🙂 Good to hear that this helped!

    Best wishes,
    Tobias

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

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

The topic ‘Letters after numbers’ is closed to new replies.