It’s not mentioned in the docs (we’ll fix it), but items are detected by the webix_l_id attribute. Therefore, templateStart should always include the following notation:
Hello, webix team. Is there an actual way to create custom elements of the list? Let’s suppose that some elements need to add a button (according to some conditions).
Hey @lBeJIuk, you can create custom elements via HTML and return them in the template (where you can also check for some certain conditions).
As an example, here is a ui.button inside of the list template: https://snippet.webix.com/oir322wj. In the case of a list this won’t really work however, as the component is designed to take up the full width of the parent, meaning there won’t be enough space for anything else in the template (it would work just fine with a datatable though - https://snippet.webix.com/t8rj5jsu).
That’s why here you’ll have to use a standart HTML button: https://snippet.webix.com/ilma3wy4. Please note that this is a very rough example of what you can do in this situation.