简体   繁体   中英

Orderable z3c RelationList widget

z3c.form是否有任何支持列表排序的RelationList / RelationChoice小部件?

z3c.formwidget.query supports ordered relations since version 0.7:

http://pypi.python.org/pypi/z3c.formwidget.query

To change the ordering of existing relations the user has to remove/re-add items though. You can use javascript for a more convinient reordering of the items (jQuery UI sortable worked for me pretty well).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM