I can put grid in the plugins of another grid.
this is my grid and I want to put in the config 'plugins' ext grid.
var grid = new Ext.grid.GridPanel({
store: store,
columns: [
{ header: 'Customer Name', dataIndex: 'CustomerName', width: 212 },
{ header: 'Charge Date', dataIndex: 'ChargeDate', width: 212 },
{ header: 'Package Plan', dataIndex: 'PackagePlan', width: 212 },
{ header: 'Current Invoice Sum', dataIndex: 'CurrentInvoiceSum', width: 212 }
],
plugins: [{
ptype: 'rowexpander',
rowBodyTpl: ['<div style="background-color:#CBDDF3; width:643px;margin-left:147px;margin-bottom: 20px;border: 1px solid;">',
'<p><b>Customer Details:</b><br/>{CustomerName}<br/> {CustomerAddress}, {CustomerPhone}, {CustomerEmail} </p>',
'<p><b>Package Type:</b> {PackagePlan}<br/>',
'<b>Invoice Details:</b></p>',
'<div class="nestedO" id="{InvoiceId}"></div> </div>',
]
}],
width: 900,
height: 450,
renderTo: Ext.get('Ongoing')
});
Is it possible?