İçereği Atla
Menü
Bu soru işaretlendi
5109 Görünümler

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.

Avatar
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
2
May 23
10219
0
Haz 21
4692
4
Mar 22
17633
0
Şub 21
2011
3
Haz 20
5093