有什么方法可以动态设置grid的headervar SecondTable = Ext.create('Ext.grid.Panel', {
    id: 'SecondTable',
    border: 1,
    margins: '10',
    autoScroll:true,
    store: SecondStore,
    plugins:[
        Ext.create('Ext.grid.plugin.CellEditing',{
            clicksToEdit:1 //设置鼠标单击1次进入编辑状态
        })
    ],
    selType:'cellmodel',//设置为单元格选择模
    columns: [
        {header: month24[12], dataIndex: '13', width: 50,
            editor: {
                xtype: 'textfield',
                allowBlank: false
            }
        },
        {header: month24[13], dataIndex: '14', width: 50,
            editor: {
                xtype: 'textfield',
                allowBlank: false
            }
        },
        {header: month24[14], dataIndex: '15', width: 50,
            editor: {
                xtype: 'textfield',
                allowBlank: false
            }
        },
        {header: month24[15], dataIndex: '16', width: 50,
            editor: {
                xtype: 'textfield',
                allowBlank: false
            }
        },
        {header: month24[16], dataIndex: '17', width: 50,
            editor: {
                xtype: 'textfield',
                allowBlank: false
            }
        },
        {header: month24[17], dataIndex: '18', width: 50,
            editor: {
                xtype: 'textfield',
                allowBlank: false
            }
        },
        {header: month24[18], dataIndex: '19', width: 50,
            editor: {
                xtype: 'textfield',
                allowBlank: false
            }
        },
        {header: month24[19], dataIndex: '20', width: 50,
            editor: {
                xtype: 'textfield',
                allowBlank: false
            }
        },
        {header: month24[20], dataIndex: '21', width: 50,
            editor: {
                xtype: 'textfield',
                allowBlank: false
            }
        },
        {header: month24[21], dataIndex: '22', width: 50,
            editor: {
                xtype: 'textfield',
                allowBlank: false
            }
        },
        {header: month24[22], dataIndex: '23', width: 50,
            editor: {
                xtype: 'textfield',
                allowBlank: false
            }
        },
        {header: month24[23], dataIndex: '24', width: 50,
            editor: {
                xtype: 'textfield',
                allowBlank: false
            }
        }
    ]
});month24 是一个数组  我需要将month24 这24个月的值赋值到header中 ExtJS JAVA