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

Fix rendering issue if truncate is true and first header cell needs truncation #48

Merged
merged 1 commit into from
Feb 9, 2020

Conversation

mscalora
Copy link
Contributor

@mscalora mscalora commented Feb 9, 2020

The translation of truncate with boolean true to an empty string came after the boolean value was copied to cellOptions for the first header in Format.wrapCellContent.

This pull request moves the translation to Factory function

Also modified the examples/truncated-lines.js and saved test output to demonstrate the issue and exercise the fix.

…runcation, moved translation of boolean true => empty string to config initialization
@tecfu
Copy link
Owner

tecfu commented Feb 9, 2020

Excellent work. Thank you very much.

@tecfu
Copy link
Owner

tecfu commented Feb 9, 2020

Closes #49

@mscalora mscalora deleted the fix-truncate-true branch February 17, 2020 01:13
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

Successfully merging this pull request may close these issues.

2 participants