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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

DataGrid - Allow Render Fragment to override Filter and Sort Icons #2162

Closed
iguanaware opened this issue Jun 6, 2024 · 2 comments
Closed
Labels
triage New issue. Needs to be looked at

Comments

@iguanaware
Copy link

馃檵 Feature Request

Screenshot 2024-06-06 112416

In a datagrid my users think the Filter Icon looks more like a sorted list. I would like to be able to override just the line of code for the icons without the whole thing:

--ColumnBase.Razor--
private void RenderDefaultHeaderContent(RenderTreeBuilder __builder)
ln 25 for example <FluentIcon Value="@(new CoreIcons.Regular.Size24.FilterDismiss())" />

馃 Expected Behavior

Change the icons without overriding the entire template

馃槸 Current Behavior

Forces to override the entire HeaderCellItemTemplate

馃拋 Possible Solution

<ColumnOptionsOpen>  ...My UI </ColumnOptionsOpen>
<ColumnOptionsDismiss>  ...My UI </ColumnOptionsDismiss>
@microsoft-github-policy-service microsoft-github-policy-service bot added the triage New issue. Needs to be looked at label Jun 6, 2024
@vnbaaij
Copy link
Collaborator

vnbaaij commented Jun 6, 2024

Hi,

The name of the icon being used is literally <FluentIcon Value="@(new CoreIcons.Regular.Size24.Filter())" />

We offer a way to change it through the header template and do not see any value in refining that even further.

@vnbaaij vnbaaij closed this as not planned Won't fix, can't repro, duplicate, stale Jun 6, 2024
@iguanaware
Copy link
Author

I understand your reasoning. Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage New issue. Needs to be looked at
Projects
None yet
Development

No branches or pull requests

2 participants