• Resolved tweetypezz

    (@tweetypezz)


    Have looked around and have had trouble finding what I would think is a simple and often-used column. I am currently making a seniority list and want a column to number automatically from 1 to 500 or so. I want to be able to delete a row, upon retirement, and have the rows automatically adjust up. Currently, I have a row of numbers and when I delete someone, I have to manually change every number afterward.

    Is there a code I can add to make a column of generated numbers for a list?

    https://www.ads-software.com/plugins/tablepress/

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    For this, you could take a look at the TablePress Extension from https://tablepress.org/extensions/datatables-counter-column/

    Regards,
    Tobias

    Thread Starter tweetypezz

    (@tweetypezz)

    Thank you, Tobias. I will take a look at it right away.

    I’m also having trouble with my pagination. The “Show 50 entries” is coming out unformatted and unboxed on 3 different lines. What do you suggest?

    Thread Starter tweetypezz

    (@tweetypezz)

    Thank you, Tobias. I will have a look at it right away.

    I am also having trouble with the pagination. My “Show 50 entries” is showing up unboxed, and on three separate lines. I would copy my temp webpage but it’s not letting me paste the link here. Any suggestions on fixing the pagination?

    Thanks again.

    Thread Starter tweetypezz

    (@tweetypezz)

    The Datatables-counter-column worked like a charm. Thank you so much. Rating a 5 (had already planned to just from reading all your previous forum help).

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    good to hear that this helped! And thanks for the review, I really appreciate it!

    For that problem with the pagination: 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 tweetypezz

    (@tweetypezz)

    Thread Starter tweetypezz

    (@tweetypezz)

    Can’t seem to post a link. I think it’s because it’s on a temp ftpupload site until I move it to it’s final destination.

    I’ll try to link it again when it moves. Sorry.

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    thanks for that!

    The reason for this is that your theme is applying a different styling to all dropdowns on your site. To override that again, please add this to the “Custom CSS” textarea on the “Plugin Options” screen of TablePress:

    .dataTables_wrapper select {
        display: inline !important;
        width: auto !important;
        border: 1px solid !important;
        padding: 2px !important;
        margin: 0 3px !important;
    }

    Regards,
    Tobias

    Thread Starter tweetypezz

    (@tweetypezz)

    That did it. Thank you so much, Tobias.

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

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

    Best wishes,
    Tobias

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