PDA

View Full Version : [CLOSED] Vertical Align Cells in Grid 2.0



rthiney
Sep 04, 2012, 6:56 PM
How can I "top" vertical-align the contents of a cell in a grid?

Daniil
Sep 05, 2012, 3:51 AM
Hi,

You can apply custom CSS for the GridPanel, something like this.
http://examples2.ext.net/#/GridPanel/Miscellaneous/Custom_UI/

Also you can specify a CSS class for the Column cells setting its TdCls property.
http://docs.sencha.com/ext-js/4-1/#!/api/Ext.grid.column.Column-cfg-tdCls