templateCopy
sets the template according to which data will be copied to clipboard from each currently selected cell
let templateCopy: function
Example
Section titled “Example”webix.grid({ 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; }});
also check the next samples:
Details
Section titled “Details”The template function takes the following parameters:
- text - the text of the cell
- row - the row id
- col - the column id
See also
Section titled “See also”Articles