Closed hieuhgt1 closed 3 years ago
?? Can you explain more…
I can get cell address by getColumnNameFromId now. But another issue is that when i copy a cell and paste it and it copy also the style of it but i want it just copy text and not style. May I do that because i need to validate text input by each column. Thank u so much
For more detail, it is paste the value only not paste the format
If you use jSpreadsheet pro, you can use this plugin : https://jspreadsheet.com/plugins/advanced-copy-and-paste
Otherwise, i don't know if on version CE, when you paste, you paste style+data, because on code, i see only data. But, try to use event onbeforepaste
.
onbeforepaste: function(el, data, x, y) {...}
on this function you can return value pasted and controlled
?? Can you explain more…