Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Handling Child Rows

Aperta
#4 0 commenti 1 reazione 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

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

Direzione di ricerca

Inizia tracciando la creazione del clone flottante, il rendering del bordo, lo spostamento verso l’alto delle righe e la gestione del ridisegno in RowReorder. Il lavoro è completato quando le righe figlie sono incluse nel clone e nel bordo, si spostano con la riga padre in entrambe le direzioni e si riaprono dopo il ridisegno.

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

Descrizione

I have been playing around using child rows in datatables along with the row reorder, but currently the child rows are not fully supported when reordering rows, so I have begun to work on a fix.
In order to better support the reordering of rows with attached children the following needs to happen:

  1. When creating the floating 'clone' row we should check for children, and if there are children rows we should include them inside the 'clone'.
  2. The border which is drawn around both the clone, and the original row when it is changing rows in the table needs to be extended to include any and all child rows.
  3. When the original row is moved upward in the table the child row needs to move with it(currently the child row only moves downward in the table with its parent.
  4. After the user moves a row the table is redrawn which automatically closes all of the child rows. If a table has a child row there needs to be an event listener for the 'redraw' event which will reopen any child row which was automatically closed.
Lingua principale
TypeScript
Stelle
23
Fork
27
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

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.

Altre issue di DataTables/RowReorder

Tutte le issue di DataTables/RowReorder

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.