DataGrid with column options to only hide, nothing else, will not provide ColumnOptions despite requesting them
Bug type
Component
Component name
MudDataGrid
What happened?
When you set your column(s) to hideable, but not sortable (and not filterable etc, though these are all default), the ShowColumnOptions parameter takes no effect. This is at both the DataGrid and the column level.
We can set ShowMenuIcon on the DataGrid to get access to this, of course, but it would be great to access it at the column level too.
Expected behavior
The column options should be visible
Reproduction link
https://try.mudblazor.com/snippet/wYcIkbHkinjxicdP
Reproduction steps
- For at least one column in a data grid, set it such that it is hideable, not sortable, and not filterable etc.
- Set ShowColumnOptions to true
- Observe that column options do not appear.
Relevant log output
No response
Version (bug)
6.14.0
Version (working)
No response
What browsers are you seeing the problem on?
Chrome
On what operating system are you experiencing the issue?
Windows
Pull Request
- [ ] I would like to do a Pull Request
Code of Conduct
- [X] I agree to follow this project's Code of Conduct
Noticed something similar to this issue. If you set the SortMode to SortMode.Multiple it shows it. And this is also the same behavior/bug when disabling sort on a column but still having it be draggable and hidable.