# templates (property)

Use the templates property to supply a set of rendering functions which you want to use for custom cells or other datagrid parts (except Angular and Vue where the templates are defined as component content).


const templates = {
    'my-cell-1': function(ctx) {
        // use JSX or tagged templates (tpl`...`)
    }
};

const columns = [
    {
        header: 'My Cell',
        template: 'my-cell-1'
    }
]