2021年3月5日星期五

GWT grid cells don't wrap

I'm using a GWT GridPanel. I want one of the columns to wrap but nothing I've tried works. In the associated css file, I've tried:

.x-grid3-cell-inner .x-grid3-col-note {      overflow: visible; white-space: normal !important;  }  

where note is the name of the column that I want to wrap. Didn't work. I've tried:

.x-grid3-cell {      white-space:wrap;  }  

Didn't work. I've tried:

.x-grid3-cell-inner {      cell-wrap: true;  }  

Didn't work. Anyone have a simple solution that works?

https://stackoverflow.com/questions/66464767/gwt-grid-cells-dont-wrap March 04, 2021 at 04:53AM

没有评论:

发表评论