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

Fix star-sized columns collapsing #242

Merged
merged 2 commits into from
Dec 13, 2023

Conversation

Takoooooo
Copy link
Contributor

When we create an initial TreeDataGridSource ColumnList is getting created. Then we get the Viewport from the EffectiveViewportChanged event and initialize the ColumnList. But when user re-creates the TreeDataGridSource ColumnList is getting recreated too but Viewport is not set for this ColumnList since EffectiveViewportChanged is not called because EffectiveViewPort remained the same, so we need to pass Viewport by ourselves.

Fixes #130
Closes #231

@Takoooooo Takoooooo requested a review from grokys December 13, 2023 14:37
@grokys grokys merged commit bdaab6a into master Dec 13, 2023
4 checks passed
@grokys grokys deleted the pass-viewport-to-recreated-columnlist branch December 13, 2023 14:42
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.

Updating Source causes star-sized columns to collapse
2 participants