2

當組合angular-datatables和angular-xeditable時,可編輯的行在添加新行時被取消。Angular-Datatables + Angular-xeditable:可編輯的行取消

這是jsfiddle。 採樣操作如下。

(1)這是初始狀態。

enter image description here

(2)編輯第一和第三行到狀態 「STATUS4」。

enter image description here

(3)Add row

enter image description here

(3),編輯工作被取消,狀態恢復爲 「狀態1」。我希望row1和row3都保持編輯狀態,狀態保持「status4」。如果沒有角度數據表,它的作用就如我的希望this jsfiddle,但我想用數據表。

我該如何解決?

回答

0

我在Angular中有一個DataTables表,我需要內聯編輯 - this CellEdit plugin,它的基本初始化代碼像一個魅力一樣工作!但不知道它是否支持添加新行和刪除行。

希望這會有所幫助!

相關問題