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

Remove Expression from TooltipText #1635

Merged
merged 4 commits into from
Mar 5, 2024
Merged

Conversation

vnbaaij
Copy link
Collaborator

@vnbaaij vnbaaij commented Mar 5, 2024

Both FluentDataGrid's PropertyColumn and TemplateColumn have a TooltipText parameter. Based on other code in the grid, this parameter was using an Expression<Func>> for its type. THis is unnecessary and lead to performance issues/CPU spikes (see #1621).
With this PR the Expression part is removed.

vnbaaij added 3 commits March 4, 2024 23:27

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
@vnbaaij vnbaaij requested a review from dvoituron March 5, 2024 10:01
@vnbaaij vnbaaij enabled auto-merge (squash) March 5, 2024 10:01
Copy link
Collaborator

@dvoituron dvoituron left a comment

Choose a reason for hiding this comment

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

I like it... simpler :-)

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
@vnbaaij vnbaaij merged commit b3673be into dev Mar 5, 2024
4 checks passed
@vnbaaij vnbaaij deleted the users/vnbaaij/fix-issue-#1621 branch March 5, 2024 10:11
@vnbaaij vnbaaij linked an issue Mar 6, 2024 that may be closed by this pull request
vnbaaij added a commit that referenced this pull request Mar 6, 2024
* Add and use ExpressionCache

* Remove Expression from TooltipText
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.

fix: High CPU usage in FluentDataGrid
2 participants