PDA

View Full Version : row expander in tabpanel



Tascha
30 Jul 2009, 4:28 AM
Hello guys!

I want to integrate a row expander into a grid, but I have some problems with it and some questions.

Where I can do it at all?
Or somebody have a tutorial for the RowExpander?

That's my Js-code with tabpanels:



var TabPanel = new Ext.TabPanel({
region: 'center',
activeTab:0,
layoutOnTabChange: true,
items:[{

title: 'Startseite',
closable:false,
autoScroll:true


},{

title: 'Geräte',
layout:'fit',
items: [test_ListingEditorGrid],
closable:true,





}],
listeners: {
tabchange: function(newLoad){
newLoad.doLayout();
}
}
});

I want to exchange the test_ListingEditorGrid with the row expander.


In the example the Array-Reader is given, but when I use my database-query I don't need it or am I mistaken?
I don't know, where I have to put my query in the RowExpander example.

And by the way, why the beginning: *.xg?

Hope, somebody helps.

Thanks a lot.

Greeting

Tascha