template.escape

escapes HTML strings in data

function template.escape(string template);

Parameters

templatestringtemplate string

Returns

functiontemplating function

Example

webix.ui({
    view:"datatable",
    columns:[
        { id:"customer", format:webix.template.escape }
    ]
});

Details

webix.template.escape is related to template and hence can be used in all Data Templates in the app.

See also
Back to top