Automatic column widths for the new table component?

This seems to STILL be broken? I just switched a bunch of tables to auto column width (because of my frustration over not being able to distribute 100% over the columns according to their importance and data types). This triggers some badness such has a heading "strength" being turned into "stren..." and "rank" becoming "r...". These appear unfixable but worse is this problem.

I have a table that displays "search results". The user types in a search string and boom, the table's data source changes and the results look ridiculous.

Do .refresh() on the data source and the data is redisplayed, but the table still looks ridiculous.

Click over to a different tab, then come back and the columns reallocate and the resulting layout is acceptable.

At first I thought this was happening only once after the entire app was launched. But no.... it happens at random intervals. If I type in another search query and the table loads with a different results set it MAY continue to look OK. However, I select a row and a related table display looks wonky. I then select a different row... still wonky. Click to another tab, click back, and both tables look fine, and stay that way as I click other rows and display related data.

It's entirely possible I am doing something during tab switch processing that "fixes" the bug. If I knew what that was...that might be an acceptable workaround.

But this issue is ANCIENT...and still open? It would be great to hear a definitive explanation of a workaround.

Hi @Roland_Alden apologies for the inconvenience.

I just add on another +1 to the ticket. I agree, this should have been addressed much sooner.

It looks like the most recent activity was that this ticket had its status set to "ready for work" as of 4 months ago. So it is likely to be assigned soon. We have been focusing engineering man power to our AI features which will be very exciting to unveil and will then allow for the teams to shift back to improving styling functionality such as column width for tables :sweat:

+1
What we need is for someone to figure out a way to solve for responsive layout with machine learning. Then the old problem will be cool again. :rofl:

2 Likes