#6076 (Use drag & drop to implement Sequenced.move_up and move_down )
by Luc Saffre · in Developers · assigned to Sharif Mehedi
Résumé
Also: how to insert in a grid above the current row?
Concepts sous-jacents
Commentaires
- 1 année, 5 mois ago by Luc Saffre about #6076 (Use drag & drop to implement Sequenced.move_up and move_down ) : I added dndreorder to linod.SystemTasks.column_names and changed the label of the displayfield from "Row Reorder" to "⇵", and this is visible in book/docs/plugins/linod.rst, but (surprisingly) the column has an empty heading in the React front end. If this is a simple bug, then you're welcome fix it...
- 1 année, 5 mois ago by Luc Saffre about #6076 (Use drag & drop to implement Sequenced.move_up and move_down ) : I'm going to do this now because there is a failure in welfare and I plan to change the column header.
- 1 année, 5 mois ago by Luc Saffre about #6076 (Use drag & drop to implement Sequenced.move_up and move_down ) : Use case: System -> Background tasks should have a dndreorder column.
- 1 année, 5 mois ago by Sharif Mehedi about #6076 (Use drag & drop to implement Sequenced.move_up and move_down ) : good idea.
- 1 année, 5 mois ago by Luc Saffre about #6076 (Use drag & drop to implement Sequenced.move_up and move_down ) : But if Datatable allows to select where this column is, then we should not use a boolean option like "drag_drop_sequenced_field", we should rather define a virtual field Sequenced.dndreorder, which would get a new kind of SpecialStoreField, it would not generate any data at all, it would be just a p...
- 1 année, 5 mois ago by Luc Saffre about #6076 (Use drag & drop to implement Sequenced.move_up and move_down ) : We don't want it automatically activated on all actors whose model is a Sequenced. I just discovered that we even DO have already a class-attribute tables.AbstractTable.drag_drop_sequenced_field, which did something similar in ExtJS6 (the extjs6 front end never worked fully, we stopped to try to jum...
- 1 année, 5 mois ago by Sharif Mehedi about #6076 (Use drag & drop to implement Sequenced.move_up and move_down ) (1 reply) : When I activate row-reorder on Datatable it adds another column. We might not need the row-reorder feature since we have the "exchange seqno" action.

- 1 année, 5 mois ago by Luc Saffre about #6076 (Use drag & drop to implement Sequenced.move_up and move_down ) : Usage example: When I hit INS in a grid of persons and I do have a selected row, the dialog window should contain a copy of the values of the selected person.
- 1 année, 5 mois ago by Luc Saffre about #6076 (Use drag & drop to implement Sequenced.move_up and move_down ) : Maybe Action.select_rows should NOT remove sr from the GET. Theoretically "select_rows" should be renamed to "requires_a_selected_row".
- 1 année, 5 mois ago by Luc Saffre about #6076 (Use drag & drop to implement Sequenced.move_up and move_down ) : This would be a useful feature. Let's have a brainstorming about it some day.
- 1 année, 5 mois ago by Luc Saffre about #6076 (Use drag & drop to implement Sequenced.move_up and move_down ) : Created new Ticket #6076 (Use drag & drop to implement Sequenced.move_up and move_down ).