-
-
Notifications
You must be signed in to change notification settings - Fork 299
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to make a Board not movable ? #32
Comments
This is how I made it.... It is a HACK... but works....
And Added the class kanban-fixed to NOT MOVABLE boards.... It would be VERY NICE to have a option in board object to be not movable.... Thank you |
The only problem that I cant fix is that other boards still can take place of Backlog and Finished boards... :( |
In my case I decided to make all boards fixed so I haven't had that problem. In any case, I guess you can cancel dragging at "drop" event of jKanban by comparing target and source and then cancel dragula like: jkanban = new jKanban({
element: "#mykanban",
dropBoard: function(el, target, source, sibling) {
if (target.dataset.id === "_backlog") {
jkanban.drake.cancel(true);
}
}
}); |
Awwesssooommmeee !!!
Thank you for the reply !
But still, would be a great addition to have a option to make certain board
static...
Em qui, 25 de out de 2018 às 10:22, Marcos Rocha <notifications@github.com>
escreveu:
… In my case I decided to make all boards fixed so I haven't had that
problem. In any case, I guess you can cancel dragging at "drop" event of
jKanban by comparing target and source and then cancel dragula like:
jkanban = new jKanban({
element: "#mykanban",
dropBoard: function(el, target, source, sibling) {
if (target.dataset.id === "_backlog") {
jkanban.drake.cancel(true);
}
}
});
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#32 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAOlGrXBDRCw07TlU1-UTeMXCLNhJnsJks5uobsrgaJpZM4X4iD_>
.
--
* Gabriel Paiva*
* socio-diretor*
ceo@emog.com.br
CEL: 55 31 8298-9292
* TEL*: 55 31 3832-8047
www.emog.com.br
*P* Antes de Imprimir pense em seu compromisso com o Meio Ambiente
Esta mensagem, incluindo seus anexos, pode conter informações privilegiadas
e/ou de caráter confidencial, não podendo ser retransmitida sem autorização
do remetente. Se você não é o destinatário ou pessoa autorizada a
recebê-la, informamos que o seu uso, divulgação, cópia ou arquivamento são
proibidos. Portanto, se você recebeu esta mensagem por engano, por favor,
nos informe respondendo imediatamente a este e-mail e delete o seu conteúdo.
|
For boards correct is jkanban.drakeBoard.cancel(true); |
Is there a way to make a board not movable ? Dragable ?
In my case, I am building a Kanban board that has a Backlog and a Finished Boards.... I want to make those statics... not movables....
Is there a way to do this ?
Thank you
The text was updated successfully, but these errors were encountered: