PDA

View Full Version : programmatically adding controls



j11extjs
9 Nov 2010, 2:23 AM
What would be the best way of programmatically laying out the page's content (i.e. number of controls and their configuration, based on reading an xml file from a server? My idea is putting another function within an Ext.onReady().
Inside this function is an xmlStore bound to a Ext.data.HttpProxy. This proxy api talks to server side code that reads the xml file. Would this be the best way to do this or is there an existing ExtJS feature that already does this I just haven't come across?

Many thanks.