riktar / jkanban

Vanilla Javascript plugin for manage kanban boards

Home Page:https://www.riccardotartaglia.it/jkanban/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Give an alert when drop on specific board

ranggaAdiPratama opened this issue · comments

I have a transaction kanban with status board, pending and paid. Is it possible to give an alert if you want to drop the card from pending to paid? If yes, it's dropped, otherwise, it returns to pending

best regards

Thanks for opening a new issue. The team has been notified and will review it as soon as possible.
For urgent issues and priority support, visit https://xscode.com/riktar/jkanban

Hello, hope you're doing fine. You can use dropEl event in order to achieve that. When target.parentNode.dataset.id equals to your paid board id you show up an alert. Please tell me if you need a fiddle.

@marcosrocha85

yes, pretty please

@marcosrocha85

yes, pretty please

Here we go, my friend.
https://jsfiddle.net/marcosrocha85/0ze2c5qt/

@marcosrocha85 i'm sorry, The thing is I can't drag any card there

Can you provide your fiddle for my understanding?