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
If you have not checked yet, be sure to visit site of our main product Webix javascript ui components library and page of context menu product.