Can you get lines of text to wrap in JqGrid
? I have had a look round but i can't find anything.
Javascript – Wrapping Text lines in JqGrid
javascriptjqgridjquery
Related Topic
- Javascript – How to use a variable in a regular expression
- Javascript – $(document).ready equivalent without jQuery
- Javascript – Set a default parameter value for a JavaScript function
- Javascript – event.preventDefault() vs. return false
- Javascript – Get selected text from a drop-down list (select box) using jQuery
- Javascript – How to decide when to use Node.js
- Javascript – the purpose of Node.js module.exports and how do you use it
- Javascript – Is it possible to apply CSS to half of a character
Best Answer
Try the following CSS:
This works for me using jqGrid 3.6.
As N30 pointed out, jqGrid 4.0 now supports a
cellattr
colModel option which can allow for a finer grain of control over text wrapping. From his example: