getContext() in Kanban context menu returns undefined?

Hi,

I’m trying to get the column’s id out so I can pass it along to a separate form. But when I do a getContext(), the value returned is undefined. I’m not hooking something up correctly, just not sure what.

Right click on the add new then add new.

http://webix.com/snippet/e8751da3

Ah, no! If I do it twice in a row it returns an object! Is it because it’s not being attached before the rest runs or something?!

Second question: is it possible to do some kind of multiselect on kanban cards?

Hi,

Context is not set if a popup is shown via show() method. You can try to set kabanlist as a property of the popup ‘config’:

http://webix.com/snippet/16b089aa

You can enable multi-select in KanbanLists via select:"multiselect",:

...
view: "kanbanlist",
select:"multiselect",
...

Ah. So “kabbanList” isn’t mentioned anywhere that I can see - is it a typo in the code (“kanbanList”?!)? Is there separate kanban documentation somewhere?

kanbanList is a custom property (it is used in the snippet only). Therefore, it is not documented.

Here is Kanban docs:

http://docs.webix.com/desktop__kanban_board.html