Hi Stefano,
Thanks for contacting Syncfusion’s support.
We have analyzed your requirement, we have inbuilt support to wrap the cell content by defining the allowTextWrap property of ejGrid as true and we can apply this auto wrap specifically for content/header/both (default) by defining the textWrapSettings->wrapMode property of ejGrid. Please refer to the below online api reference and sample links.
Note: When enable the allowTextWrap property, the sentence will wrap based on the words and if the cell has single word, it will not wrap. So, we suggest you to use below style in your project, if you want to wrap even a single word.
<style>
.e-grid .e-gridcontent{
word-wrap: break-word!important;
}
</style>
|
And also refer the following stackoverflow link.
Regards,
Saravanan A.