Subview

Can you provide this example with the second row (“The Godfather”) NOT having a subview?

http://docs.webix.com/samples/60_pro/01_datatable/07_sub/05_sub_grid_data.html

Check
http://webix.com/snippet/af3b9fda

You can always convert template of column to JS function and place the necessary logic inside.