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

Table boundaries are cropped when we have long sting without space inside the table. #2800

Open
hkmadhusudhan opened this issue Oct 16, 2024 · 1 comment

Comments

@hkmadhusudhan
Copy link

hkmadhusudhan commented Oct 16, 2024

When have a long string inside the table without space then pdf gets cropped. Same thing works fine outside the table.
Example JSON .

 content: [
		{text: 'Tables 1', style: 'header'},
		'Details',
		{text: 'A simple table (With out the space in cell value)', style: 'subheader'},
		{
			style: 'tableExample',
			table: {
				body: [
					['Column   1', 'Column 2', 'Column 3',' Column 4', 'Column 5'],
					['One value goes here', 'Another one here', 'OK?','Values 3', 'Long_Sting_WithOut_Space_In_between_Inside_the_Table_Is_Cropped_Pdf_File']
				]
			}
		},
		{text: 'Tables 2', style: 'header'},
		'Details',
		{text: 'A simple table (With Space inside the cell)', style: 'subheader'},
	
		{
			style: 'tableExample',
			table: {
				body: [
					['Column   1', 'Column 2', 'Column 3',' Column 4', 'Column 5'],
					['One value goes here', 'Another one here', 'OK?','Values 3', 'Long_Sting_With _Space_In_between_Inside_the_Table_Is_Is Working FIne__Pdf_File']
				]
			}
		},
	], 
PDF Screenshot
@hkmadhusudhan
Copy link
Author

Hi @liborm85 Do we have any update on this.

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

No branches or pull requests

1 participant