//auto column width
Ext.grid.Panel.prototype.viewConfig = {
listeners: {
refresh: function (dataview) {
var cols = dataview.panel.columns;
for (var i = 0; i < cols.length; i++) {
cols[i].autoSize();
}
}
}
};

  

05-11 22:02