Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
GXT 2.2.5 を使用しています
TreeGrid できちんとしたワード ラップを作成するにはどうすればよいでしょうか。テキストを折り返すには、whitespace: normal を指定する必要があることがわかりました。しかし、添付の画像でわかるように、左マージンの問題が発生しました。
何か案は?
前もって感謝します :)
空白と一緒に試してください:通常、これをcssに追加してください
.x-grid3-row { height: auto !important; }
私には別の考えがあります。テキストを複数の行に並べる代わりに、一定数のテキストの後に省略記号を表示できます。これを実現するには、次のスタイルを使用できます。
white-space:nowrap; overflow:hidden; text-overflow:ellipsis;