MaterialDesignInXAML / MaterialDesignInXAML/MaterialDesignInXamlToolkit
Datagrid problems with keyboard
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 16.3k
- Forks
- 3.5k
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 8
Description
the datagrid `MaterialDataGridComboBoxColumn` can't be used with keyboard
when i get to the column with my keyboard by pressing "Tab" pressing any key to open the "drop down list" including space doesn't do anything and i have to use the mouse to do so even if i forced the editing cell mode for it
can't set the `MaterialDataGridComboBoxColumn` to editable
pressing tab to go throw app fields work fine until i reach a datagrid instead of going from the last field to the first cell in the first row if there is any it will go throw the columns headers first then the first row.
if you need this for a checkbox to select all or something just add `IsTabStop` with false as the default also there is no visible indication where it currently focus on with the headers because the dots box doesn't show on them
the `MaterialDesignDataGridTextColumnPopupEditingStyle` should popup with minwidth as wide as the cell width.
demo https://youtu.be/d21YR-9FKk4
you can test all of this in the demo app, thanks
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the demo app described in the issue and reproduce the keyboard behavior in MaterialDataGridComboBoxColumn. Inspect the datagrid column behavior, header tab order and focus indication, and MaterialDesignDataGridTextColumnPopupEditingStyle. Done means keyboard editing works, tab navigation and focus are usable, and the popup minimum width matches the cell width.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100