Skip to content

Question: Get number of pages #27

@joselo

Description

@joselo

First of all thanks for this amazing library. I chooed it over html based solutions. It's has everything for my purposes but I wonder if is there any way to get the total number of pages?. I'm rendering an invoice with items. so I have a kind of recursive methods to know when I have to add a new page (:continue.. remaining etc.) however I'm not sure how I could calculate the total of pages that I will add, before render the table. I'm thinking to calculate the total using the size of the data. If do you have any Idea I really appreciate another approach. thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions