Reorder on Sort enhancement
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Estancado
- Stack tecnológico
- typescript
- Área
- frontend
Línea de trabajo
Comienza con el ejemplo de RowReorder enlazado y sigue cómo se gestionan actualmente la ordenación y el movimiento manual de filas. Define el comportamiento de la configuración propuesta reorderOnSort, incluidas las actualizaciones de la secuencia y los cambios en los indicadores de ordenación, y determina después cómo debería validarse.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
In the following example:
http://www.datatables.net/extensions/rowreorder/examples/initialisation/simple.html
when a user sorts data on the table it does not alter the sequence numbers, so a user cannot use the sorts to reset the sequence numbers before customizing the sequence orders, so if a users has a particular sequence order right now they have to manually drag each item on the list into the right sequence.
Instead I think that when a user sorts the data by any of the columns other than the first column, there should be a setting to update the Seq. numbers with the newly sorted order. 'reorderOnSort: true or false' so that if i sort by names, then the first number in the sequence would be 'Airi Satou', and the sort numbers would proceed in alphabetical order.
If the new option is 'true', the table will create a event listener on sorting, or perhaps the fnDrawCallback, and then after a table has changed, it updates the sequence numbers to whatever new position they are in the table.
Secondly, when a row is manually reordered by a users, the sort should automatically be removed from whichever column has it, and if the Seq. column is visible, it will indicate that the rows are now sorted by the Seq. column. Thus if the table is sorted by names, and then I drag a name to a different spot on the list, with the 'reorderOnSort' as true, the sort indicator would switch to the seq. list when it updates the positions since the list is no longer sorted by names.
- Lenguaje dominante
- TypeScript
- Estrellas
- 23
- Forks
- 27
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de DataTables/RowReorder
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
DataTables/RowReorder#30 · 1 comentario ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
DataTables/RowReorder#26 · 3 comentarios ·
-
Dificultad 3/5 1-2 días Aptitud para principiantes 35/100
DataTables/RowReorder#22 · 3 comentarios ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
DataTables/RowReorder#14 · 4 comentarios ·
-
Dificultad 3/5 1-2 días Aptitud para principiantes 35/100
DataTables/RowReorder#13 · 1 comentario ·
Todos los issues de DataTables/RowReorder
Issues similares
-
Add: Yemen Education SDAbiertostreams:add
Dificultad 2/5 Menos de una hora Aptitud para principiantes 70/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
apache/rocketmq-dashboard#6872 ·
Los mantenedores suelen responder en 3 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
interledger/publisher-tools#931 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
ARTPARK-SAHAI-ORG/calibrate-frontend#727 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
fab-geocommuns/RNB-site#539 ·
Los mantenedores suelen responder en 2 días