Results 1 to 2 of 2

Thread: Ext Designer exported grid problem

  1. #1
    Ext User TeeCee's Avatar
    Join Date
    Sep 2007
    Location
    Szeged
    Posts
    6

    Question Ext Designer exported grid problem

    Hi,

    I've now trying out extDesigner and I made an EditorGrid, and 2 forms and some stores fo dropdown lists.
    I exported it and having problems: "invoicesGrid is not a constructor".
    I copied the files in the correct order from 'includeOrder' to my page, oly the xds_index.js was not copied (that is not in the 'includeOrder.txt'. Before these files I include the ext-base.js adapter and the ext-all.js.

    Strange, but if after the page loaded I run in the console (in firefox):
    Code:
    Ext.onReady(function() {
    	var invoicesGrid = new invoicesGrid({
    		renderTo: "invoicesGridPlaceholder"
    	});
    });
    than it loads the grid in the proper place.
    I added these lines to an init.js and loaded after the 'includeOrder.txt' files and the same happens: I got a "not a constructor" error, but running these lines make the grid loading...

    Any idea why? Thanks for any help!
    (Was this a dumb question?)
    -=-=-=-=-=-=-=-=-=-=-=-=-=-=-
    ~~ TeeCee, the One and Only ~~

  2. #2
    Ext User TeeCee's Avatar
    Join Date
    Sep 2007
    Location
    Szeged
    Posts
    6

    Default

    Woaaaa!

    I found that some reason ext designer uses the 'jsclass' property wrong: is uses this for the class and also for the variable.
    if I change
    Code:
    var invoicesGrid = new invoicesGrid({
    to
    Code:
    var invoicesGridObj = new invoicesGrid({
    than it runs like charm.

    Is only me, who's stupid in this case (the exported code is the one, that is NOT running)?
    Last edited by TeeCee; 7 Jul 2010 at 5:28 AM. Reason: typo and clarifying
    -=-=-=-=-=-=-=-=-=-=-=-=-=-=-
    ~~ TeeCee, the One and Only ~~

Similar Threads

  1. Ext Designer trial VS Ext Designer final
    By malem in forum Ext Designer: Help & Discussion
    Replies: 5
    Last Post: 13 Oct 2010, 11:10 PM
  2. Ext Designer Problem: How to define number of columns in column layout?
    By romanczar in forum Ext Designer: Help & Discussion
    Replies: 4
    Last Post: 30 Sep 2010, 8:00 AM
  3. [FIXED-98] Mockup fails if grid without store is exported
    By ExtKD in forum Ext Designer: Bugs
    Replies: 5
    Last Post: 21 Apr 2010, 7:55 AM
  4. Problem with scrollbar inside Panel (even through Ext Designer)
    By raskri in forum Ext 3.x: Help & Discussion
    Replies: 3
    Last Post: 20 Apr 2010, 11:55 PM
  5. Ext Designer: How to add multiple radio buttons with designer?
    By lelapinblanc in forum Ext Designer: Help & Discussion
    Replies: 1
    Last Post: 26 Mar 2010, 1:38 PM

Tags for this Thread

Posting Permissions

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