Description |
Add the following on your tabpanel items
\{
xtype: 'glrecaptab',
listeners: \{
beforeshow: ' *onPnlRecapBeforeShow* ' // replace this with your method
\}
\},
Add requires in the view or viewModel
'GeneralLedger.controls.RecapTab'
!pastedImage_d68457_0.png!
where
*onPnlRecapBeforeShow* -- is the function for inserting the recap record ( *tblGLPostRecap* ) and retrieving the unique batch id.
in the success callback of this method, please invoke me.bindRecapGrid(strBatchId) with strBatchId as id you have retrieved.
!pastedImage_d68457_1.png!
|