Skip to content

Conversation

@keithel-qt
Copy link
Contributor

Create the SwiftTableView reusable component and use it in one location
in the app as a sample - the ThreadStateTable.

Create the SwiftTableView reusable component and use it in one location
in the app as a sample - the ThreadStateTable.
@keithel-qt
Copy link
Contributor Author

Oops forgot to run check

Copy link
Collaborator

@john-michaelburke john-michaelburke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice :shipit: I'll convert the others

@john-michaelburke john-michaelburke merged commit 959c995 into john-michaelburke/copy-table Dec 2, 2021
@john-michaelburke john-michaelburke deleted the keithel-qt/copy-table branch December 2, 2021 01:29
@keithel-qt
Copy link
Contributor Author

👍

@keithel-qt
Copy link
Contributor Author

One small change with this is that all places you put this will have the onWidthChanged: tableView.forceLayout() call, but I think that's ok.

If you don't want to incur that on tables that relayout using your column resize logic, you could pull that out and do the forceLayout in each use of SwiftTableView.

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