Created
August 21, 2023 07:45
-
-
Save aclips/48985f08bccac62abb38dcd1872630db to your computer and use it in GitHub Desktop.
Отключение действий в канбане bitrix24
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function () { | |
BX.addCustomEvent('Kanban.Column:onAddedToGrid', (e) => { | |
e.canAddItem = false | |
e.canEdit = false | |
e.droppable = false | |
e.dragTargetColumn = false | |
e.isTotalFrozen = true | |
e.grid.canAddColumn = false | |
e.grid.canEditColumn = false | |
e.grid.canRemoveColumn = false | |
}); | |
BX.addCustomEvent('Kanban.Grid:addItem', (e) => { | |
e.draggable = false | |
e.droppable = false | |
}) | |
})() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment