Results 1 to 2 of 2

Thread: KitchenSink initial launchscreen

  1. #1
    Sencha User
    Join Date
    Mar 2008
    Vote Rating

    Default KitchenSink initial launchscreen

    I realise you'll be changing and finalising the UniversalUI class in due course, but in the meantime I'm trying to understand how to create my own temporary customised version. Specifically, the KitchenSink example has a fixed launchscreen, defined by the html property within the items, ie:

    Ext.ux.UniversalUI = Ext.extend(Ext.Panel, {
        fullscreen: true,
        layout: 'card',
        items: [{
            cls: 'launchscreen',
            html: '<div><img src...etc
    I'm trying to figure out how I could make the html dynamic so I can fetch it via Ajax, but drawn a blank so far. Anyone got any suggestions?

    Many thanks

  2. #2
    Sencha User
    Join Date
    Mar 2007
    Haarlem, Netherlands
    Vote Rating


    We are planning on adding an autoLoad option of some kind on any Component to load its content thru Ajax. In the meantime you can make an ajax call to any serverside source using Ext.Ajax.request. You can find it in the docs. Then in the callback you can either update the contents of an existing component using the update() method (will probably look something like mypanel.update(response.responseText)). You could also instantiate and add the component with the content in the callback method.

    One example that I can think of is the source panel inside the kitchensinks index.js file. There we actually dynamically load the contents of javascript files into the source panel. You could have a look at that.

Similar Threads

  1. Initial value in combobx
    By gersonczjr in forum Ext 2.x: Help & Discussion
    Replies: 3
    Last Post: 20 Nov 2008, 8:07 AM
  2. initial Text for Grid ?
    By mysticav in forum Ext 2.x: Help & Discussion
    Replies: 2
    Last Post: 6 Nov 2008, 12:58 PM
  3. grabbing variables and using them as initial value
    By piston in forum Ext 2.x: Help & Discussion
    Replies: 4
    Last Post: 14 Apr 2008, 2:03 PM
  4. Combobox Initial Value
    By cluettr in forum Ext 1.x: Help & Discussion
    Replies: 6
    Last Post: 10 Aug 2007, 11:10 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts