khan4019 / tree-grid-directive

Need one or more maintainer for this! comment or email me if you are interested
http://khan4019.github.io/tree-grid-directive/test/treeGrid.html
347 stars 183 forks source link

Dynamic cell template customization #55

Open stefanobasili opened 9 years ago

stefanobasili commented 9 years ago

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