sets the template according to which data will be copied to clipboard from each currently selected cell
webix.ui({
view:"datatable",
data:grid_data,
clipboard:"selection",
select:true,
columns:[
{id:"title", fillspace:true},
{id:"year", width:70},
{id:"votes"}
],
templateCopy:function(text, row, col){
return "Copied: "+text;
}
});
The template function takes the following parameters: