Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to remove table heading column showing in all pages? #1151

Closed
mithun2003 opened this issue May 1, 2024 · 5 comments
Closed

How to remove table heading column showing in all pages? #1151

mithun2003 opened this issue May 1, 2024 · 5 comments

Comments

@mithun2003
Copy link

Screenshot 2024-05-01 115653
in first page and second page showing this table heading column so how to show it only in first page

@Lucas-C
Copy link
Member

Lucas-C commented May 1, 2024

Hi @mithun2003

Have you read the documentation section on the subject?
cf. https://py-pdf.github.io/fpdf2/Tables.html#disable-table-headings

@gmischler
Copy link
Collaborator

There is currently no way to only have headings at the very beginning of the table. They will always be repeated after every page break.

There should really be a flag like repeat_headings=True to modify this behaviour.
Any takers?

@Lucas-C
Copy link
Member

Lucas-C commented May 2, 2024

There should really be a flag like repeat_headings=True to modify this behaviour.
Any takers?

Agreed.
I think I misunderstood @mithun2003 problem at first, sorry 😅
I'm on it!

@Lucas-C
Copy link
Member

Lucas-C commented May 2, 2024

I opened PR #1153 to implement this.

You are both welcome to review it 🙂

@Lucas-C
Copy link
Member

Lucas-C commented May 14, 2024

PR #1153 is merged, but not released yet.

In the meantime it can be tested this way:

pip install git+https://github.com/py-pdf/fpdf2.git@master

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants