PDA

View Full Version : How to display a list of values in a Grid cell



andap
16 Dec 2011, 4:14 AM
Hello all,

I have a question about data display in a GXT grid. I need to display a list of values separated by newline in a grid cell. For example, if I have

public class FooModel extends BaseModel{
}

that contains a list of BarProxy (that extends the GWT EntityProxy). I'm not sure how to implement a rendered so that all FooModel.BarProxy.name are displayed in that cell one under the other.

Thank you in advance,
Anda P

anoops
27 Dec 2011, 5:19 AM
Try rendering the cell adding this css. This would help you to fire word wrap the cells in the grid.



.grid .x-grid3-cell-inner { white-space: normal !important;
}