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

tables: add option to HTML format for fixed width columns #7338

Closed
scottdraves opened this issue May 10, 2018 · 1 comment
Closed

tables: add option to HTML format for fixed width columns #7338

scottdraves opened this issue May 10, 2018 · 1 comment

Comments

@scottdraves
Copy link
Contributor

currently the html format renders every cell to the DOM to measure its size, and then rerenders them all to an SVG to actually get the pixels. it would be a lot faster to skip the DOM step.

add an optional parameter to the HTML format (similar to the digits for the floating point formats):
TableDisplayStringFormat.getHTMLFormat(width:200)

@scottdraves
Copy link
Contributor Author

should apply to image format as well

LeeTZ pushed a commit that referenced this issue Jul 12, 2018
* #7338 width parameter for HTML and Image string format - backend

* #7338 support fixed width for image and HTML columns

* #7338 fix widget resizing with fixed width columns

* #7338 fix TableDisplay resize feature
@LeeTZ LeeTZ closed this as completed Jul 16, 2018
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

4 participants