Dear @aleksandra_budnik,
I’m looking for any workaround to resolve issue with word wrap text in a cell dynamically, clicking on button.
At first I set up wordWrap: false
because I don’t want automatically resizing column by handsontable if a user writes a long text to the cell.
Then doesn’t work my CSS style
.handsontable .wraptext {
overflow-wrap: break-word;
white-space: pre-line;
max-width: 20px;
}
But if I use wordWrap: true
, CSS above works well, but then handsontable automatically wraps text which shouldn’t be.
Demo
https://jsfiddle.net/janzitniak/ucjz3twa/14/
Regards
Jan