PDA

View Full Version : WTF???



deser
2 Sep 2012, 11:16 PM
I've created simple application: viewport > grid with top toolbar button. By clicking this button window with tabPanel is opened. There 5 tabs with the next items: form and 4 grids. And there something mysterious: when I click on tab that contains grid the main grid store reloaded (instead of loading store of created in tab grid). Somebody can give me answer how its possible and how I can solve this problem?

https://scrobly.com/jPklm1hcl4VygCYLpyAx

I am using ExtJs 4.1 (the last version).
The code of tabPanel here:

return Ext.create('Ext.tab.Panel', {
border: false,
items: [
Ext.create('AMD.view.MeasurementDevices.EditForm',{
title: 'Редактор',
params: this.params,
grid: this.grid
})
,
Ext.create('AMD.view.MeasurementDevices.DowntimeHistory',{
title: 'Cведения о простоях и хранении',
grid: this.grid
})
,
Ext.create('AMD.view.MeasurementDevices.RepairHistory',{
title: 'Cведения о ремонте',
grid: this.grid
})
,
Ext.create('AMD.view.MeasurementDevices.ToHistory',{
title: 'Cведения о ТО',
grid: this.grid
})
,
Ext.create('AMD.view.MeasurementDevices.PoverkaHistory',{
title: 'Cведения о поверках ( калибровках)',
grid: this.grid
})
]
});

mitchellsimoens
3 Sep 2012, 5:19 AM
Please use titles that are basically a short description or keywords of your question/issue. 'WTF?????' is not a good title at all. Also, please post in the appropriate forum.