-
Notifications
You must be signed in to change notification settings - Fork 815
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
Adding columns to empty DataTable
won't appear?
#4386
Comments
Possibly related is #3449 where again perhaps the updates to column widths aren't being triggered? |
I have worked around this via flipping |
Thanks for the bug report. Should be fixed in main. |
Don't forget to star the repository! Follow @textualizeio for Textual updates. |
Thanks @willmcgugan, confirmed this works in Textual v0.70.0! Sorry I could have sworn I tried incrementing the |
I'm not sure if this is a bug or possibly the intended behaviour for a empty DataTable (i.e. without rows).
Try pressing the c key with the app below to add new columns to the
DataTable
- notice they won't appear. Then press the r key to add a new row, then all columns will show.EDIT: Actually this isn't specific only to an empty table, but rather new columns won't appear if there isn't any row with corresponding data in that column. Is that intentional?
The text was updated successfully, but these errors were encountered: