PDA

View Full Version : What's the difference between text and header when specifying columns?



tonyx
7 Sep 2011, 2:02 PM
In GridPanels, specifying column header as either 'header' or 'text' seems to achieve exactly the same thing. Are there any differences between them?

skirtle
8 Sep 2011, 6:09 AM
Judging by the code there's no difference. See the first few lines of initComponent:

http://docs.sencha.com/ext-js/4-0/source/Column.html#Ext-grid-column-Column-property-isHeader