Closed (fixed)
Project:
TableField
Version:
7.x-2.x-dev
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
1 Oct 2015 at 12:36 UTC
Updated:
19 Sep 2016 at 21:24 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
patrickroma commentedIs this feature planned for future releases?
Comment #3
jenlamptonThis would be a fantastic new feature. As a work-around you might export the current table field data as a CSV, and open that file in MS Excel or similar. Add the row where you like it, and then save the file as a new CSV. Then, import the new CSV with all that data back into the table field, and voila!
Changing to feature request.
Comment #4
jenlamptonI was thinking about this... The "insert a row in the middle" problem could also be solved by allowing the user to add a row at the end, and then use tabledrag to drag it up into the middle much like we do with fields (not that Field UI should be used as an example of a good UI.) I spent some time adding tabledrag to the data-input form. Maybe give this a try and see if you think it's a good compromise?
Comment #5
jenlamptonComment #6
jenlamptonI really liked this feature so have added it to the port of this module I have been working on for Backdrop CMS. This patch includes cleaned-up css for the tabledrag display.
Comment #7
jenlamptonComment #8
jenlamptonThis patch saves the rows in the correct order after sorting.
Comment #10
jenlamptonTabledrag will be included in the next release of this module.