Support » Plugin: TablePress » Show number of entries at table bottom

  • Resolved vladsitaru

    (@vladsitaru)


    Hello,

    How can I fix the “show x entries” at the bottom of the table?

    Thank you,
    Vlad

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

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    For that, please add this to the “Custom Commands” text field:

    "dom": "frtlip"
    

    This follows the documentation from https://datatables.net/reference/option/dom

    Regards,
    Tobias

    • This reply was modified 1 month ago by TobiasBg.
    Thread Starter vladsitaru

    (@vladsitaru)

    Hello Tobias,

    Thank you for the response, it works.

    The command also affects the datatables_columnfilterwidgets plugin, causing the dropdown filters from the top of the table to dissapear. Would there be a workaround for this?

    Thank you for your help,
    Vlad

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    yes, there’s a workaround for that 🙂
    The ColumnFilterWidgets is indicated by a W in the parameter value, thus, you would have to use

    "dom": "Wfrtlip"
    

    in your case.

    Regards,
    Tobias

    Thread Starter vladsitaru

    (@vladsitaru)

    Hello Tobias,

    It works, thank you! Would you know if it is possible to move the column filterwidget a bit lower so that it is on the same horizontal axis as the search bar?

    Attached is a screenshot, I would like to have the “Tematică” and “Durată Mesaj” filters aligned on the yellow line, on the same axis as the search bar “Căutare” from the right side.

    https://testing.anabaptisti.ro/wp-content/uploads/2021/05/predici-tabel1.jpg

    Also, I was going through the forum and saw the following picture on a post from one year ago. How would it be done to add a download button when using the collapse table format?

    https://testing.anabaptisti.ro/wp-content/uploads/2021/05/imgur-pic.jpg

    Thank you for your help,
    Vlad

    • This reply was modified 1 month ago by vladsitaru.
    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    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!

    That download button is an image with a link that is part of the normal cell content, it’s nothing that is specific to the collapse mode.

    Regards,
    Tobias

    Thread Starter vladsitaru

    (@vladsitaru)

    Hello Tobias,

    Thank you for the reaction and clarification with the collapse table question. The link to the page below, the table is at the bottom of the page:

    https://testing.anabaptisti.ro/contact-1/

    Thank you,
    Vlad

    • This reply was modified 1 month ago by vladsitaru.
    • This reply was modified 1 month ago by vladsitaru.
    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for the link!

    For a better alignment, please add this to the “Custom CSS” textarea on the “Plugin Options” screen of TablePress:

    .column-filter-widgets {
        float: left;
    }

    Regards,
    Tobias

    Thread Starter vladsitaru

    (@vladsitaru)

    Hello Tobias,

    Thank you for the solution, it has done the job. I appreciate your help.

    Regards,
    Vlad

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    you are very welcome!

    Best wishes,
    Tobias

Viewing 9 replies - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.