Home › Forums › Guriddo jqGrid JS › Help › Carriage return in colnames
I should like to add carriage return in the text of colnames but this don't works by exemple i try
colNames:['Code SNI','Nom', 'Appl n sensibles'..
Help thanks.
Hello,
Yes this is true. The reason is that the div element where the text is enclosed has fixed height and overflow feature.
In order to work this you will need to set the height of that div manually.
Suppose you name in colModel of that field is “myfield” after the grid is created you will need to call this
$(“jqgh_myfield”).height(30);
Regards
Tony
Stay connected with us in your favorite flavor!
Copyright 2014 TriRand LtdAll Rights ReservedRSS