MaterialDesignInXAML / MaterialDesignInXAML/MaterialDesignInXamlToolkit

Datagrid problems with keyboard

Aperta
#1,284 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

bug up-for-grabs
Lingua principale
C#
Stelle
16.3k
Fork
3.5k
Merge medio
1g 22h
PR unite (30g)
8

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Direzione di ricerca

Inizia con l’app demo descritta nell’issue e riproduci il comportamento della tastiera in MaterialDataGridComboBoxColumn. Ispeziona il comportamento della colonna del datagrid, l’ordine di tabulazione e l’indicazione del focus, nonché MaterialDesignDataGridTextColumnPopupEditingStyle. Il lavoro è completato quando la modifica da tastiera funziona, la navigazione con Tab e il focus sono utilizzabili e la larghezza minima del popup corrisponde alla larghezza della cella.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
csharp
Ambito
desktop
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
25/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.