Datatable with subview and template

Hi webix team,
I have a Datatable with subview and colorTemplate at line 4 and 9 Code Snippet but colorTemplate is not working. Please give me an advice.
a lot of thanks
Rainer

Good day @RainerRoss ,

It is actually working (you could see in the devtools that colorTemplate is added to the component). However, there is too little space for it. So, as a solution you could remove a div wrapper in your colorTemplate type. Check the example: Code Snippet .

By the way, it is also possible to add a common.subrow() in the columns template function. For example: Code Snippet .

Hi Mariya,
many thanks for this nice solution and now it works fine
Best regards
Rainer