1. #1
    Sencha User
    Join Date
    Jan 2013
    Posts
    20
    Vote Rating
    0
    venkateshwar is on a distinguished road

      0  

    Default Unanswered: What could be the possible error in the below code

    Unanswered: What could be the possible error in the below code


    I am very new to extjs and going through the documentation. http://docs.sencha.com/ext-js/4-0/#!...and_containers. In the section 'container', there is the following code which is not doing anything on my page(blank page, no panels)


    Ext.create('Ext.panel.Panel',{ renderTo:Ext.getBody(), width:400, height:300, title:'Container Panel', items:[{ xtype:'panel', title:'Child Panel 1', height:100, width:'75%'},{ xtype:'panel', title:'Child Panel 2', height:100, width:'75%'}]});
    Please check this and help me..

    Thanks.

  2. #2
    Sencha Premium Member
    Join Date
    Apr 2012
    Posts
    41
    Answers
    6
    Vote Rating
    2
    sriram139 is on a distinguished road

      0  

    Default


    There seems to be no problem with the code you pasted.
    If you want to verify, go to below link:
    http://try.sencha.com/extjs/4.1.1/do....2/viewer.html

    Paste your code within Ext.onReady(function () {}); and see.
    There might be problem with your html code or app code around this. check that.

    Thanks,
    Sriram

  3. #3
    Sencha User
    Join Date
    Jan 2013
    Posts
    20
    Vote Rating
    0
    venkateshwar is on a distinguished road

      0  

    Default


    Thank you for reply. I got the solution here http://stackoverflow.com/q/14641808/1577396.

    These sencha forums are good but not upto mark in my opinion. So, I created a group on SO where we can have discussions regarding sencha. Please have a look at this link http://chat.stackoverflow.com/rooms/23760/sencha (require sign up).

    I even created on Jabbr where many developers are available https://jabbr.net/#/rooms/Sencha

    I meant no disrespect.. I am just trying to expand sencha forums.

    Please give reply as feedback here even if you don't like my approach.

    Thank you.

Thread Participants: 1

Tags for this Thread