• Resolved orclord87

    (@orclord87)


    Hi,

    I have about 10k entries and I love tablepress, thanks you so much.
    But when I try to chronological order the table (wachttijden tab, the far right tab) it does not do it.. it only take the first digit, instead of the total number.
    Example:

    1
    11
    14
    2
    22
    29
    3
    4
    5
    60
    67
    7

    Could you help me with this?

    Regards,

    Max

    The page I need help with: [log in to see the link]

Viewing 10 replies - 1 through 10 (of 10 total)
  • Max,

    I have seen issues like this before. Your single digit numbers have to begin with 0 (01, 02, 03) for the chronological order to work correctly.

    You are correct, it is looking at the first number first, then the second, then third, etc.

    It is not a great solution, but it should fix the issue.

    Thread Starter orclord87

    (@orclord87)

    Thanks!!!

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    Hold on! The numbers don’t have to start with a 0, of course! ?? It’s just important that really ALL cells in the column are a number – and just a number!
    So, even if a cell is empty or has an extra line break, that could change the used sorting algorithm for number-sorting to text-sorting.

    Regards,
    Tobias

    Thread Starter orclord87

    (@orclord87)

    Great, thanks!
    Just added 0’s to all the cells, it works way better atm.
    quick question. right now it take about 10 seconds for the filter to show. CIs it possible to let the filters show immidiatly?

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    no, sorry, that’s not really possible. The JavaScript library has to go through every cell in every column to find the filter term. That simply takes a while for a table of this size.

    Regards,
    Tobias

    Thread Starter orclord87

    (@orclord87)

    Ok great. So the only option would be to speeds up the server right?

    I have 1 more related question.

    On this page:
    https://ziekenhuiswachttijd.nl/wachten-checken-2/

    In installed the responsive plugin. On the mobile version it looks great(the + and the -), but I dont want it to show on the desktop version. Is this possible?

    Thread Starter orclord87

    (@orclord87)

    Because before I installed the responsive plugin, I width would not be a problem.

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    no, speeding up the server would not really help, as all this happens using JavaScript in the browser. So, you would have to speed up the computers of your site’s visitors ??

    Unfortunately, the collapse mode sometimes already starts taking effect on desktops, depending on what widths the JS library calculates there. I’m not aware of a way to only run it on mobile, sorry ??

    Regards,
    Tobias

    Thread Starter orclord87

    (@orclord87)

    Ok, I understand, Last questions about the speed. Could I cache the database somehow using a caching tool, would that help?

    about the collapse mode, Can i adjust the width?

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    no, not really. TablePress is already caching the generated HTML output. The slowness that you are seeing is solely on the client-side. There’s nothing really that we can do here ??

    Changing the width for the collapse mode is also not really possible, as it works by setting the widths itself, to a large degree.

    Regards,
    Tobias

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Chronological order’ is closed to new replies.