|
|
@@ -143,20 +143,4 @@ Ext.define('saas.view.sys.power.GroupGrid', {
|
|
|
data.others = others
|
|
|
record.set(data);
|
|
|
}
|
|
|
-}, function(WidgetGrid) {
|
|
|
- /*var prototype = WidgetGrid.prototype,
|
|
|
- columns = prototype.columns,
|
|
|
- len = columns.length,
|
|
|
- i,
|
|
|
- tbar = prototype.tbar = [];
|
|
|
-
|
|
|
- // Create tbar on the prototype with a button for each column
|
|
|
- for (i = 0; i < len; i++) {
|
|
|
- tbar.push({
|
|
|
- text: columns[i].text,
|
|
|
- enableToggle: true,
|
|
|
- pressed: true,
|
|
|
- toggleHandler: 'onButtonToggle'
|
|
|
- });
|
|
|
- }*/
|
|
|
});
|