I have a model with a list and kanban view. The kanban field is sorted using _order='sequence' and can be dragged and dropped. I would like to add a handle widget to a field called 'list_sequence' and use that to order the list view.
The intended result is that I could drag and drop the list view and kanban into different orders.
The behavior right now is that both views use the sequence field for their order, so when I drag in one view, it changes the order in the other.
I've tried default_order in the XML tag for the list, but that disables the handle widget.
I've tried dynamically changing _order, but it appears that the order is only calculated when the window action is run.
I wrote a module that triggered a reorder when the user clicked on the view buttons in the upper right, but that didn't work. I'm not really sure why, though.
I'm really scratching my head on this one.
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 7/12/16, 12:49 AM|
|Seen: 247 times|
|Last updated: 7/12/16, 1:56 AM|