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

[REACT] PDF Export Missing Cells #5619

Open
bmblb opened this issue Nov 21, 2022 · 1 comment
Open

[REACT] PDF Export Missing Cells #5619

bmblb opened this issue Nov 21, 2022 · 1 comment
Labels
bug Something isn't working forum Issues from forum high-priority Urgent to have fixed OEM OEM customer pdf export

Comments

@bmblb
Copy link

bmblb commented Nov 21, 2022

Forum post

Hi Bryntum, I hope this finds you well

I've been thoroughly debugging why a customer's gantt PDF export will show the task names beyond a certain row as blank. Its actually an intermittent issue, fails 3 out of 4 tries. I was curious and tried adding a 5 second wait 'onBeforePdfExport', but the result was the same.

I compared against your examples, and was able to find the breaking difference. The issue only happens when the request HTML has task name classes like 'b-react-portal-container', and these only happen when we use a custom 'TaskNameRenderer' in 'Columns.js'. Is it possible there is an upstream bug with React portals and PDF export?

Issue persisted with a simplified 'TaskNameRenderer' that just returned a span. We need the custom 'TaskNameRenderer' to satisfy business logic with links.

Could you please help direct me to not face this issue, whether that be fixing upstream or a workaround like forcing TNR not to use portal or simple rendering them 'onBeforePdfExport'?

Many thanks,
Ben

@bmblb bmblb added bug Something isn't working pdf export forum Issues from forum OEM OEM customer labels Nov 21, 2022
@bmblb bmblb self-assigned this Nov 21, 2022
@matsbryntse matsbryntse added the high-priority Urgent to have fixed label Nov 21, 2022
@taauntik
Copy link

Reported here

This is the pdf output
Gantt (2).pdf

@bmblb bmblb removed their assignment Mar 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working forum Issues from forum high-priority Urgent to have fixed OEM OEM customer pdf export
Projects
None yet
Development

No branches or pull requests

3 participants