- I have a panel defined
- build the string in a variable (page_html)
- set the html using the method setHtml().

The following works now but I would like to know whether there is an easier way to "refresh" the parent container.

Code:

//... resultTable is a var pointing to a panel object, page_html has the html (as a string)
resultTable.setHtml(page_html);
Ext.getCmp('DK_round').remove([resultTable]); // has been added before
Ext.getCmp('DK_round').add([resultTable]);
//...

Hey Mitchell, it doesn't seem like you provided any help here. You asked a question which got answered. How about a nice clear, descriptive response that actually helps people?

I for one would like to know why setRecord does not change my display. I want to get the container to re-render but it will only do so if I navigate to another page and then come back to force the re-draw.

It seems there used to be a useful function called doLayout but you guys decided it would be better to make it implicit. OK. WHERE is the refresh of the container accomplished? Using which methods? setData? setHtml? setRecord? Any of these? All of the above?

Sencha is some cool stuff if you like reading code in the place of clear documentation.

And while I am ranting I will repeat that if you, Mitch, would take half the time responding to posts that I just took with mine you would be a hundred times more helpful.

I do not respond to rants. However I will say that we got rid of doLayout because we don't have control over layouts, they are CSS so the browser gets to do the magic. Add something to a container and the browser will render and lay it out. For data rendering, specify a tpl and use setData with the record data.