Hybrid View
-
12 Jun 2012 12:40 AM #1
Header height of Ext.grid.GridPanel
Header height of Ext.grid.GridPanel
Hi all, how to get the height of header of a Ext.grid.GridPanel?

Thanks all
S.Ext 3.X.X plugin for Aptana Studio - Still in development - Support it
Italian ExtJs Developers Group
-
12 Jun 2012 2:47 AM #2
try css
try css
Hi
try this
RegardsCode:.... colModel: new Ext.grid.ColumnModel({ columns: [{ header: 'header1' css: 'height:20px' }] ....sword-it.com, Sencha Developer House in Turkey - Istanbul University Technopark Suite 204.
-
12 Jun 2012 4:05 AM #3
Thanks, but I need a method (or trick) to read that value.
S.Ext 3.X.X plugin for Aptana Studio - Still in development - Support it
Italian ExtJs Developers Group
-
15 Jun 2012 6:03 AM #4
Hi,
You can reach the header element from the view (instance of GridView) object of the grid like:
Header element refers to mainHd (Ext.Element)
this.view.mainHd.getHeight()
sword-it.com, Sencha Developer House in Turkey - Istanbul University Technopark Suite 204.


Reply With Quote