I'm not sure how to call this so any suggestion to change the title is welcome.
I'm trying to convert a quite large text to something like 'just show some characters...'. Obviously the large text begins with same string but it's much longer.
My grid is read-only and I'll show the whole data into a dialog when users click each row. The input field (in another page) is a text area so users can write down huge data to be show in the grid. I would like to keep each row with same height. Also I know I have to sanitize the text to avoid special characters and new lines
I guess it should be a colModel option to do that but I couldn't find it. Something like that:
colModel :[
{name:'notes', index:'notes', maxcharlength: 20},
Many thanks.