Bug in list drag and drop whith complex templates?

Hi,

I am having problems when using the option drag: “move” in a list where the template is defined using the type parameter. An example:

https://snippet.webix.com/7e2aq3a4

It seems to work for list2, but not for list1. May this be a bug? Am I doing something wrong?

Thanks for your help!

Hello @ocanela,
Items are detected by the webix_l_id attribute. SotemplateStartshould always include the following notation:
templateStart:"<div webix_l_id='#id#'>"
Please check the snippet:
https://snippet.webix.com/gvykexlr

Hello @annazankevich ,

That’s great, thanks for your help!

May I suggest you to update the docs example here?

https://snippet.webix.com/e4378c2c

This may be helpful to others.

Thanks again!

@ocanela,

May I suggest you to update the docs example here?
Yes, of course. Thank you for reporting. We will fix it.