|
@@ -15,6 +15,10 @@ Ext.define('uas.view.grid.expander.Panel', {
|
|
|
extend: 'Ext.grid.Panel',
|
|
extend: 'Ext.grid.Panel',
|
|
|
xtype: 'grid-expander-panel',
|
|
xtype: 'grid-expander-panel',
|
|
|
|
|
|
|
|
|
|
+ requires: [
|
|
|
|
|
+ 'Ext.grid.plugin.RowExpander'
|
|
|
|
|
+ ],
|
|
|
|
|
+
|
|
|
bind: '{companies}',
|
|
bind: '{companies}',
|
|
|
viewModel: {
|
|
viewModel: {
|
|
|
stores: {
|
|
stores: {
|
|
@@ -24,26 +28,6 @@ Ext.define('uas.view.grid.expander.Panel', {
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
- profiles: {
|
|
|
|
|
- classic: {
|
|
|
|
|
- width: 600,
|
|
|
|
|
- pricechangeWidth: 100,
|
|
|
|
|
- percentChangeColumnWidth: 100,
|
|
|
|
|
- lastUpdatedColumnWidth: 100
|
|
|
|
|
- },
|
|
|
|
|
- neptune: {
|
|
|
|
|
- width: 600,
|
|
|
|
|
- pricechangeWidth: 100,
|
|
|
|
|
- percentChangeColumnWidth: 100,
|
|
|
|
|
- lastUpdatedColumnWidth: 100
|
|
|
|
|
- },
|
|
|
|
|
- graphite: {
|
|
|
|
|
- width: 750,
|
|
|
|
|
- pricechangeWidth: 110,
|
|
|
|
|
- percentChangeColumnWidth: 120,
|
|
|
|
|
- lastUpdatedColumnWidth: 150
|
|
|
|
|
- }
|
|
|
|
|
- },
|
|
|
|
|
columns: [
|
|
columns: [
|
|
|
{ text: "Company", flex: 1, dataIndex: 'name'},
|
|
{ text: "Company", flex: 1, dataIndex: 'name'},
|
|
|
{ text: "Price", formatter: 'usMoney', dataIndex: 'price', width: 100},
|
|
{ text: "Price", formatter: 'usMoney', dataIndex: 'price', width: 100},
|