Skip to content

How to change DataGrid ColumnOptions filter icon? #1515

Answered by vnbaaij
aliastopan asked this question in Q&A
Discussion options

You must be logged in to vote

You can change that icon by using the HeaderCellItemTemplate but when using that, it is left up to that template to render any relevant
"show options" UI and invoke the grid's FluentDataGrid<TGridItem>.ShowColumnOptionsAsync(ColumnBase<{TGridItem>> .

The code in RenderDefaultHeaderContent in ColumnBase.razor can be used as a guideline.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by aliastopan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants