Im trying to set the vertical align for the columns in a column model. There is no config attribute that i can set for the vertical align so i would like to set the class, however, there is also not a cls config either. How can i set the vertical-align of a column, even better, how can i set the class of the columns.
Here is an example of what i want:
var accessColumnModel = new Ext.grid.ColumnModel([{
header: 'my header',
sortable: false,
align: 'center', C-Index (ElegantJ Data Tables Java API Specification v1.1):: columnModel - Variable in class com.elegantj.jfc.table.JFCTable Creates a JFCList that contains the elements in the specified array http://www.elegantjbeans.com/resources/datatable/ElegantJB/index-files/index-3.htmlHOME | symfony framework - SWiK:: property of the DemoAdPeer class, so it can be reused later With setting a release date for the first version of symfony 1.2 we gave timeboxing a try. http://swik.net/symfonyHOME |
cls: 'myCssClass',
width: 30
}
]);
*notice the 'cls' config.
and my css:
.myCssClass {
vertical-align: middle
}
Thanks,
Ray.
Ray -
A css class which you can use will automatically be generated for you like so:
x-grid3-hd-{ID}
Where id is the id of your column model. If you did not specify an ID it will go by a zero-based index.
Red Hat's Rough Recovery From CFO Exit
Windows Live Finds a New, Pre-installed Home
|