DataGrid HierarchyColumn missing content/arrow in Cell edit mode
See original GitHub issueBug type
Component
Component name
HierarchyColumn
What happened?
When adding <HierarchyColumn />
to a datagrid, arrows do not show.
Expected behavior
DataGrid should show a Expand/Collapse arrow
I think it can be fixed, by adding an <EditTemplate>
to
https://github.com/MudBlazor/MudBlazor/blob/dev/src/MudBlazor/Components/DataGrid/HierarchyColumn.razor
Reproduction link
https://try.mudblazor.com/snippet/GEQGlQmPxJAVHasN
Reproduction steps
Add the following to a DataGrid:
<MudDataGrid Items="@Elements" ReadOnly="false" EditMode="@DataGridEditMode.Cell">
<Columns>
<HierarchyColumn T="Element" />
Relevant log output
No response
Version (bug)
6.1.5
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
- I agree to follow this project’s Code of Conduct
Issue Analytics
- State:
- Created 9 months ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
DataGrid master detail hierarchy toggle arrows missing
Hi, I'm using DataGrid's hierarchy option as per the example on the demo page, but the rows can't be expanded. The first column...
Read more >I want to move cells with keyboard arrow keys while editing ...
I have created a datagrid in WPF. But I want to move with keyboard arrow left, right keys, but there is a problem....
Read more >How can I get navigation (tab/arrow) through cells on a ...
The read-only cells get tabbed to and selected even though they cannot be edited. I'm combing over the properties of the DataGridView looking ......
Read more >Data Grid
In it's simplest form, the data grid is just a table, displaying data from a data source. In it's most complex form, the...
Read more >Keyboard Navigation - Blazor DataGrid Demos - Telerik
Enter when the grid is in InCell EditMode - EditMode is activated. In hierarchy cell - expands /collapses the detail row. In grouping...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hello @LccBuild ,
It’s caused by
ReadOnly="false"
.In my opinion, it can be fixed working here:
I would like to contribute on this issue, if @MudBlazor/core-team accepts.
I’m currently using this workaround:
` <Columns>