MaterialDesignInXAML / MaterialDesignInXAML/MaterialDesignInXamlToolkit

Datagrid problems with keyboard

Offen
#1,284 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

bug up-for-grabs
Vorherrschende Sprache
C#
Sterne
16.3k
Forks
3.5k
Ø Merge
1 T. 22 Std.
Gemergte PRs (30 T.)
8

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

Beginne mit der in der Issue beschriebenen Demo-App und reproduziere das Tastaturverhalten in MaterialDataGridComboBoxColumn. Untersuche das Verhalten der Datagrid-Spalte, die Tab-Reihenfolge und die Fokusanzeige sowie MaterialDesignDataGridTextColumnPopupEditingStyle. Die Aufgabe ist erledigt, wenn die Bearbeitung per Tastatur funktioniert, die Tab-Navigation und der Fokus nutzbar sind und die minimale Breite des Popups der Zellbreite entspricht.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
csharp
Bereich
desktop
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
25/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.