• Resolved dariotoby

    (@dariotoby)


    Hello as you can do to sort descending first for column 6 which would be the date in dd-mm-yyyy. and then for column 2 considering that all columns are 9 and that 1 and 7 – 8 – 9 are obscured. Thanks

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

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    Unfortunately, I don’t really understand your question. This seems to be a Google translation?
    Can you please post a link to the page with the table where this problem happens, so that I can take a direct look? Thanks!

    Regards,
    Tobias

    Thread Starter dariotoby

    (@dariotoby)

    Yes with google translate
    https://love4music.altervista.org/news-del-mese-di-febbraio-2019/
    It’s not a problem.
    I want you to put the date column from the most recent to the least recent date in descending order.

    Thread Starter dariotoby

    (@dariotoby)

    Sorry I did not tell you automatically when I upload the csv file.
    Without entering the back end and clicking in the dart.

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for the link and the explanation. Unfortunately, this is not directly possible. You will either have to sort the table correctly before saving the table to a CSV file (e.g. in Excel), or you will have to use frontend sorting. For that, you can install the TablePress Extension from https://tablepress.org/extensions/datatables-sorting-plugins/ and then add this to the “Custom Commands” text field on the table’s “Edit” screen:

    "columnDefs": [ { "type": "date-eu", "targets": [ 4 ] } ], "order": [ [ 4, "desc" ] ]
    

    Regards,
    Tobias

    how to show borders lines of a column in tablepress?

    Thread Starter dariotoby

    (@dariotoby)

    Thanks as I had already put this “pagingType”: “full_numbers” if I remove it works if I put it before or after it does not work as I put them if I want them both?

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    to use both commands, just combine them with a comma ,.

    @toppo5: Please don’t hijack posts like this, but create a new thread next time ?? Thanks! Regarding your question: Please add this to the “Custom CSS” textarea on the “Plugin Options” screen of TablePress:

    .tablepress th,
    .tablepress td {
      border: 1px solid #cccccc;
    }

    Regards,
    Tobias

    thanks now working…

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    great! That’s good to hear ??

    Regards,
    Tobias

    Thread Starter dariotoby

    (@dariotoby)

    Hello Tobias sorry but I have not solved, could you please help me? If I enter both codes, sorting does not work

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    as mentioned above, you need to combine the commands with a ,. So, please put a , before "pagingType".

    Regards,
    Tobias

    Thread Starter dariotoby

    (@dariotoby)

    ok thanks

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

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

    Best wishes,
    Tobias

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘sort descending’ is closed to new replies.