javascript - Angular table-sort and drag and drop table row conflict -


i using angular table-sort , angular drag-drop in project. when dragging row , trying drop row, table sort forcefully sort rows previous position.

if remove table sort directive ts-repeat, drag , drop works perfectly. need default table column sorting "age" ascending. have made example on plunker better understanding. https://plnkr.co/edit/phltufpayfab4he8bn6y

so, how prevent table-sort when drag , dropping row?

can me solving issue? appreciate this. in advance.

i think should rid of ts-repeat, , sort data (in service/controller). it's not bug, it's feature. imagine, remove , re-add element table, sorted. want keep sorted, right?


Comments

Popular posts from this blog

PySide and Qt Properties: Connecting signals from Python to QML -

c# - DevExpress.Wpf.Grid.InfiniteGridSizeException was unhandled -

scala - 'wrong top statement declaration' when using slick in IntelliJ -