PDA

View Full Version : Adding a component to a DataView



defcon1
24 Jun 2011, 5:58 AM
Is there a way to add a Ext-Component to a DataView entry, for example a chart?

skirtle
24 Jun 2011, 6:49 AM
I don't know of a nice way to do it but I see no reason why you couldn't just have a place-holder DIV in your template and then render the component into it (using the render() method of the component) after the DataView has rendered itself.

defcon1
24 Jun 2011, 9:25 PM
You´re right, I had the same idea later ... ;)