Skip to content
This repository has been archived by the owner on Dec 8, 2022. It is now read-only.

Grid does not render correctly inside of tabset #134

Closed
Blackbaud-RobertTester opened this issue Dec 8, 2015 · 4 comments
Closed

Grid does not render correctly inside of tabset #134

Blackbaud-RobertTester opened this issue Dec 8, 2015 · 4 comments

Comments

@Blackbaud-RobertTester
Copy link
Contributor

See http://plnkr.co/edit/d9SfqWcKv32O2hkcLSaI?p=options

Grid does not render correctly when placed as the content of a tab set. The table headers and rows do not try to fill the entire usable area. If you resize the page the controls the rows snap into the correct width.

@Blackbaud-PatrickOFriel Blackbaud-PatrickOFriel added this to the Block 1 Sprint 1 1/8/2016 milestone Dec 10, 2015
@Blackbaud-PatrickOFriel
Copy link
Contributor

Have you been able to replicate this in a non-plunker environment? I haven't, but I suspect the problem is that it is calculating the width available for the last column before the grid is actually visible. I'll take a look at making the grid recalculate column widths when grid visibility changes.

@Blackbaud-RobertTester
Copy link
Contributor Author

The way I found out about the problem was outside of plunker. I just created the plunker to have something to show you. The grid columns will snap into place if you resize the window so there is probably just some initial sizing that needs to take place. A call to handleTableWrapperResize() inside of grids.js fixed the problem for me.

@Blackbaud-PatrickOFriel
Copy link
Contributor

Yeah, I just reproduced it locally as well. I think you're right, just need to call handleTableWrapperResize() when the tableWrapper width changes from 0 to nonzero. I'll give it a whirl

@Blackbaud-PatrickOFriel
Copy link
Contributor

In v1.4.7

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

No branches or pull requests

2 participants