• Resolved clausf

    (@clausf)


    Is there a way to permanently set the column widths of the tables to a specific width when editing in the backend?

    • This topic was modified 3 years, 5 months ago by clausf.
Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    This is something that will be possible shortly, via the TablePress Extension from https://tablepress.org/extensions/input-field-size/

    I just haven’t had the time to adjust that for compatibility with TablePress 2.0, but hope to be able to do so in the coming days.

    Regards,
    Tobias

    Thread Starter clausf

    (@clausf)

    Hi Tobias,
    Thank you for your prompt reply. Then I will wait. How do I find out about the completion?
    May I ask another question? In the forum I found the possibility to print pfd in landscape with datatable buttons.
    “buttons”: [ { “extend”: “pdf”, “orientation”: “landscape” } ]
    Unfortunately I couldn’t find the place to paste the code. Can you tell me where to enter the code?
    Best regards
    Claus

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    my recommendation would be to simply check back on the Extension’s page at https://tablepress.org/extensions/input-field-size/ every other day. I can’t make promises as this does not have very high priority for me, but I hope to be able to make this work within the next week.

    As for that command that you found: Are you already using the Buttons Extension? Also, you would have to make sure to use the proper upright quotation marks, i.e.

    "buttons": [ { "extend": "pdf", "orientation": "landscape" } ]

    Best wishes,
    Tobias

    Thread Starter clausf

    (@clausf)

    Hi Tobias,
    Datatable buttons is installed. I just don’t know where to put this line.
    Best regards
    Claus

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi Claus,

    this then needs to be added to the “Custom Commands” (“Eigene Befehle”) text field in the “Table Features for Site Visitors” section on the “Edit” screen of the table.

    Regards,
    Tobias

    Thread Starter clausf

    (@clausf)

    Hi Tobias,
    Today I was able to try the command. Unfortunately without success. No new button was visible. Even the other buttons [table id=2 datatables_buttons=”excel,pdf,print”] were then gone. Even if the table is only included with [table id=2], no PDF button is visible.
    Best regards
    Claus

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    yes, with this “Custom Command”, the other buttons will disappear, as the “Custom Command” replaces them. To keep them, you would need to use this “Custom Command” (in addition to the Shortcode parameter!):

    "buttons": [ "excel", { "extend": "pdf", "orientation": "landscape" }, "print" ]

    To find out why that’s not working: 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

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

The topic ‘Column width in backend’ is closed to new replies.