templateCopy

sets the template according to which data will be copied to the clipboard

function templateCopy;

Example

webix.ui({
    view:"list", 
    ...
    clipboard: "custom",
    templateCopy: function(item) {
        return [item.title, item.year, item.votes, item.rating, item.rank].join(" , ")
    }
});

Related samples

Details

As a parameter, the template function takes the data item object.

See also
Back to top