How to redefine template in specific column of treetable ?

For list I use $$(“list”).define(‘template’, “xxx”);

I wish the same for a template in specific column of treetable.

Thanks

$$("treetable").getColumnConfig("columnId").template = /* new template */;
$$("treetable").refreshColumns();

Thanks :slight_smile: