0

I want to setup jqgrig's cell (td) height to, say 32px, but with following limitations:

  • cell's text can be multiline;
  • cell should not contain any other elements, such div;

result i expect must be something like this:

http://i27.fastpic.ru/big/2011/0905/c8/583e312ab134b24f4201389245ce9ec8.png

Have any ideas?

Thanx.

Oleg
  • 220,925
  • 34
  • 403
  • 798
JEXcome
  • 3
  • 1
  • Probably you read my [old answer](http://stackoverflow.com/questions/6573784/how-to-restrict-maximum-height-of-row-in-jqgrid/6574194#6574194). Why you see any problem in placing `
    ` inside of the cell?
    – Oleg Sep 05 '11 at 10:04
  • @Oleg The problem is of a currently used event system (which i cannot modify) what depends on td-elements, and div will break it. – JEXcome Sep 05 '11 at 11:01
  • Could you describe more exactly what "event system" you mean. Moreover it could be important how you implement "multiline" cells in the grid. Do you use some CSS (which one) or has explicit line breaks in the cell contain? – Oleg Sep 05 '11 at 11:38
  • The text is database string without any line breaks, only visible symbols and space. It's not important how text will be divided. I've seen your solution, I was made the same myself before, but it's break some of events which i prefer do not to modify. So, I think, the best is css solution for this, if any exists. – JEXcome Sep 05 '11 at 13:08

0 Answers0