|
onDragStop: function (args) {
let kanbanObj = this.$refs.KanbanObj.ej2Instances;
// You can get the card data by using args.data
console.log(args.data[0]);
// You can get the card data by using args.element like below code
var cardData = kanbanObj.getCardDetails(args.element);
console.log(cardData);
// You can get reordered data of the target column using the below code
console.log(kanbanObj.getColumnData(cardData.Status));
} |
|
onActionComplete: function (args) {
if (args.requestType === "cardChanged") {
let kanbanObj = this.$refs.KanbanObj.ej2Instances;
setTimeout(() => {
// You can get reordered data of the target column using the below code
console.log("reordered data");
console.log(kanbanObj.getColumnData(args.changedRecords[0].Status));
}, 1000);
}
} |