1. #81
    Ext User
    Join Date
    May 2008
    Posts
    12
    Vote Rating
    0
    tassz is on a distinguished road

      0  

    Default ext js

    ext js


    Hi ya

    Just want to know why do you have to go with ext js?

    there is an array of development tools out there, as some are better than others....


    Tassz

  2. #82
    Ext User
    Join Date
    Sep 2008
    Posts
    1
    Vote Rating
    0
    irfander is on a distinguished road

      0  

    Red face


    Hello,
    I have an error like this:
    Ext.form is not a constructor

    on the line:
    [IMG]chrome://firebug/content/blank.gif[/IMG] var gridForm = new Ext.form.Form({});

    Please give me further help, thanks

  3. #83
    Sencha User calavera's Avatar
    Join Date
    Jan 2008
    Posts
    119
    Vote Rating
    0
    calavera is on a distinguished road

      0  

    Default Hello

    Hello


    Hello. Please check your heading call to extjs base files. The path might be wrong or not at all.

    Hope that helps.

    Quote Originally Posted by irfander View Post
    Hello,
    I have an error like this:
    Ext.form is not a constructor

    on the line:
    [IMG]chrome://firebug/content/blank.gif[/IMG] var gridForm = new Ext.form.Form({});

    Please give me further help, thanks

  4. #84
    Ext User
    Join Date
    Jul 2007
    Location
    Florida
    Posts
    9,996
    Vote Rating
    5
    mjlecomte will become famous soon enough mjlecomte will become famous soon enough

      0  

    Default


    Why are you asking a form question in a thread about grids? I haven't looked at the base code for this example, so you might want to quote your reference with more code so someone knows what you are talking about.

    Anyway, I don't know what version you are using but Ext 2.2 doesn't appear to have Ext.form.form(). You might have Ext.form.BasicForm or Ext.form.FormPanel, but you have not provided enough code to give more meaningful help.

  5. #85
    Ext User
    Join Date
    Sep 2008
    Posts
    5
    Vote Rating
    0
    igorshmigor is on a distinguished road

      0  

    Default Same problem as irfander

    Same problem as irfander


    I get the same error message.
    I use firefox 3.0 with ExtJS 2.2 and test the code locally.
    The web developer toolbar tells me:
    Code:
    Ext.form.Form() is not a constructor
    http://localhost/extjs/sample.js         line 110
    It's the first line of the buildGruid() function
    Code:
     var gridForm = new Ext.form.Form({});
    I've checked the paths to the JavaScripts, they are all correct.
    Both, adapter/ext/ext-base.js and ext-all.js are loaded.

  6. #86
    Ext User
    Join Date
    Jul 2007
    Location
    Florida
    Posts
    9,996
    Vote Rating
    5
    mjlecomte will become famous soon enough mjlecomte will become famous soon enough

      0  

    Default


    Ok, I looked at the introductory code for this thread.

    This code shown in this thread is for Ext 1, not Ext 2. You can not use this code for Ext 2. Go to the tutorials section in the wiki and look at tutorials applicable for Ext 2.

  7. #87
    Ext User
    Join Date
    Sep 2008
    Posts
    5
    Vote Rating
    0
    igorshmigor is on a distinguished road

      0  

    Default i see

    i see


    Quote Originally Posted by mjlecomte View Post
    This code shown in this thread is for Ext 1, not Ext 2. You can not use this code for Ext 2.
    I didn't realize, sorry. Must have missed that part.
    Your own thread seems quite useful, I'll have a look at that, thanks.

  8. #88
    Sencha User Surinder singh's Avatar
    Join Date
    May 2009
    Location
    India
    Posts
    38
    Vote Rating
    0
    Surinder singh is on a distinguished road

      0  

    Default Excel grid (Copy/Paste enable) + database processing

    Excel grid (Copy/Paste enable) + database processing


    Here is the example grid , it may help you.
    Attached Files

  9. #89
    Ext User
    Join Date
    Jul 2009
    Posts
    3
    Vote Rating
    0
    lm.moreira is on a distinguished road

      0  

    Default error

    error


    I have made the first code (samples.*), and got these javascript error

    Error: Ext.form.Form is not a constructor
    Source File: http://localhost/grid-mysql-edit/sample.js
    Line: 109

    Is necessary the application being on the same page of the ext-path..

    My .html

    Code:
    <html>
    
    <head>
    
        <title>Sample of a grid</title>
    
        <script language="JavaScript" type="text/javascript" src="../ext-2.2.1/adapter/ext/ext-base.js"></script>
    
        <script language="JavaScript" type="text/javascript" src="../ext-2.2.1/ext-all.js"></script>
    
        <script language="JavaScript" type="text/javascript" src="sample.js"></script>
    
        <link rel="stylesheet" type="text/css" href="../ext-2.2.1/resources/css/ext-all.css" media="screen" />
    
    </head>
    
    <body>
    
    
    
    <div id="grid-panel" style="width:1024px;height:668px;">
    
    <div id="editor-grid"></div>
    
    
    
    <div id="editGrid">
    
    </div>
    
    
    
    </div>
    
    
    
    </body>
    
    </html>

  10. #90
    Sencha User calavera's Avatar
    Join Date
    Jan 2008
    Posts
    119
    Vote Rating
    0
    calavera is on a distinguished road

      0  

    Default


    Quote Originally Posted by lm.moreira View Post
    I have made the first code (samples.*), and got these javascript error

    Error: Ext.form.Form is not a constructor
    Source File: http://localhost/grid-mysql-edit/sample.js
    Line: 109

    Is necessary the application being on the same page of the ext-path..

    My .html

    Code:
    <html>
    
    <head>
    
        <title>Sample of a grid</title>
    
        <script language="JavaScript" type="text/javascript" src="../ext-2.2.1/adapter/ext/ext-base.js"></script>
    
        <script language="JavaScript" type="text/javascript" src="../ext-2.2.1/ext-all.js"></script>
    
        <script language="JavaScript" type="text/javascript" src="sample.js"></script>
    
        <link rel="stylesheet" type="text/css" href="../ext-2.2.1/resources/css/ext-all.css" media="screen" />
    
    </head>
    
    <body>
    
    
    
    <div id="grid-panel" style="width:1024px;height:668px;">
    
    <div id="editor-grid"></div>
    
    
    
    <div id="editGrid">
    
    </div>
    
    
    
    </div>
    
    
    
    </body>
    
    </html>
    As it was stated a few posts back, this code is for Ext version 1 and you're using it with Ext ver 2. You can use this thread for Ext ver 2.