- Extjs gridpanel的单元格的数据怎么居中显示?
In both examples above, the ability to apply a CSS class to all cells in a column (including the header) is demonstrated through the use of the id config option. This column could be styled by including the following css:
color: red; // entire column will have red font
text-align: center; //文字居中