khan4019/tree-grid-directive

Dynamic cell template customization

Opened this issue · 0 comments

Hi everyone,

in my html page I get a Json object from a webserver and I display it using the TreeGrid. Everything works fine. Each row in my json object has a couple of attributes : Type and Value. I'd like to put in the "Value" cell some html related to the attribute "Type" (for example put a datepicker for when Type:"dateTime", or a number picker when Type:"number").
How can I achieve this result?

Thank you in advance,
Stefano