Results 1 to 2 of 2

Thread: How to use classic toolkit in tablet

  1. #1
    Sencha User
    Join Date
    Feb 2012
    Posts
    96

    Default How to use classic toolkit in tablet

    Hello,

    I've a simple question.

    I've generated a universal application.

    If I view the application in desktop it show the classic toolkit, while if I view in tablet or smartphone it shows the modern toolkit.

    How change this behavior causing classic toolkit to be used on desktop and tablet and modern only in smartphone?

    Thanks a lot

  2. #2
    Sencha Premium User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,451
    Answers
    3997

    Default

    In Ext.beforeLoad that you can have in your index.html, you can return the build you want to load by returning the build name.

    Code:
    Ext.beforeLoad = function(tags) {
        //do something
    
        return 'classic';
    };
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Fullstack Engineer
    ________________
    Modus Create is based on the model of an open source team. We’re a remote, global team of experts in our field. To find out more about the work we do, head over to our website.

    Check out my GitHub:
    https://github.com/mitchellsimoens

Similar Threads

  1. Ext.Promise on modern toolkit only??
    By chanand in forum Ext JS 6.x Q&A
    Replies: 3
    Last Post: 17 Jun 2015, 8:48 PM
  2. Toolkit for UI mockups?
    By george71 in forum Ext 3.x: Help & Discussion
    Replies: 1
    Last Post: 25 Jul 2010, 12:32 AM
  3. Re-Skin Toolkit
    By wbweston in forum Ext 2.x: Help & Discussion
    Replies: 7
    Last Post: 17 Mar 2009, 5:59 AM
  4. Skin GWT EXT or EXT JS Toolkit
    By wbweston in forum Ext GWT: Help & Discussion (1.x)
    Replies: 2
    Last Post: 17 Mar 2009, 5:26 AM
  5. My toolkit search
    By don.magee in forum Community Discussion
    Replies: 1
    Last Post: 4 Apr 2008, 11:39 PM

Posting Permissions

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