How to add render/template for multisuggest list??
Here I am using “importData” function to load data. how can we add template in this case.
How to add render/template for multisuggest list??
Here I am using “importData” function to load data. how can we add template in this case.
Hello @webix_B_123 ,
The template can be set directly in its config. I.e. something like:
view:"multisuggest",
//main template
template:"<span style='color:red;'>#value#</span>",
body:{
//list (options) specific template
template:"<span style='color:green;'>#value#</span>"
},
Without the “main template”, suggest takes the rendering pattern from the list.
Please check the snippet:
https://snippet.webix.com/fpdetbb9