Hi, I guess I have a similar problem in a different context...The quick fix is to move the call to replaceClass() in expandRow() in RowPanelExpander before beforeExpand(). Then any components which need to read attributes like offsetWidth get reasonable values and can be outlined correctly.
My panel doesn't show a scrollbar and teeest - text gets cut at the right end of the panel.Code:createExpandingRowPanelItems: function(record, rowIndex){ var testpanel = new Ext.Panel({ html:'Teeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeest', autoScroll:true, autoWidth:true }); var panelItems = [testpanel]; return panelItems; }
I moved replaceClass() from expandRow() to the first line in beforeExpand(), but didn't get any different behaviour.
Guess after I posted in this thread I never came back and mentioned I updated the original RowExpander. I don't promise it'll fit everybody's needs, but it can contain all sorts of Ext elements within it without creating memory leaks and I haven't had any of the issues mentioned in this thread.
You can give it a try to see if it fits your purposes better:
http://www.sencha.com/forum/showthre...D-April-5-2010
I updated first post code and added support for stateful grid, added known issues from this thread and 2 new methods: expandAll and collapseAll
Hi steffenk, thats cool - I tried the new RowPanelExpander but still have this issue and also sorting doesn't seem to work as expected, like paubach stated before... did you test that in detail? Otherwise I do something completely wrong![]()
Hi,
i will look to the scroll issue. I use it stateful and with different types of containers. This is built in with TYPO3 4.5beta3 and works pretty well.
sample_typo3.png
Just an update: with remote grid and stateful it works after reload/sort. problem is the local mode, i'm currently work on a solution.
I used it with a local store and not stateful, that made the difference probably... looking forward to the local version ;-)
I have this strange problem with the CheckboxSelectionModel inside the nested grid of RowPanelExpander.
Problem is explained in this Link.
Any ideas & suggestions ?