Forum /
Ext JS Community Forums 4.x /
Ext: Q&A /
Unanswered: reconfiguring plugins after grid reconfigure in gridpanel
Unanswered: reconfiguring plugins after grid reconfigure in gridpanel
I need to reconfigure summary plugin after grid reconfigure. Can anyone let me know how to do the reconfiguring of summary plugin after grid reconfigure
below is the reconfig code.
var GRIDCM = new Ext.grid.ColumnModel({
defaults: {
width: 120,
sortable: true
},
columns: [{dataIndex: 'start_date',header: 'Start Date',width: 100, align: 'left', tp:'string',renderer:Ext.util.Format.dateRenderer('m/d/Y')},
{dataIndex: 'end_date',header: 'End Date',width: 100, align: 'left', tp:'string',renderer:Ext.util.Format.dateRenderer('m/d/Y')},
{dataIndex: 'Status',header: 'Status',width: 100, align: 'left', tp:'string'},
{dataIndex: 'eom_booked',header: 'EOM Booked',width: 100,align: 'right', renderer: usMoneyWODecimalNFT, tp:'decimal',summaryType: 'sum'},
{dataIndex: 'mtd_ama',header: 'MTD AMA',width: 100,align: 'right', renderer: usMoneyWODecimalNFT, tp:'decimal',summaryType: 'sum'},]
});
this.NFTGrid.reconfigure(this.NFTGridStore, GRIDCM);
====
Thanks & Regards
Hari
Sencha is used by over two million developers. Join the community, wherever you’d like that community to be
or Join Us