-
24 Jul 2008 12:37 AM #81
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
-
11 Sep 2008 7:37 PM #82
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
-
12 Sep 2008 6:41 AM #83
-
12 Sep 2008 8:26 AM #84
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.MJ
API Search || Ext 3: docs-demo-upgrade guide || User Extension Repository
Frequently Asked Questions: FAQs
Tutorial: Grid (php/mysql/json) , Application Design and Structure || Extensions: MetaGrid, MessageWindow
-
12 Sep 2008 1:03 PM #85
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:
It's the first line of the buildGruid() functionCode:Ext.form.Form() is not a constructor http://localhost/extjs/sample.js line 110
I've checked the paths to the JavaScripts, they are all correct.Code:var gridForm = new Ext.form.Form({});
Both, adapter/ext/ext-base.js and ext-all.js are loaded.
-
12 Sep 2008 4:12 PM #86
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.MJ
API Search || Ext 3: docs-demo-upgrade guide || User Extension Repository
Frequently Asked Questions: FAQs
Tutorial: Grid (php/mysql/json) , Application Design and Structure || Extensions: MetaGrid, MessageWindow
-
14 Sep 2008 4:08 AM #87
i see
i see
I didn't realize, sorry. Must have missed that part.
Your own thread seems quite useful, I'll have a look at that, thanks.
-
28 May 2009 12:19 PM #88
Excel grid (Copy/Paste enable) + database processing
Excel grid (Copy/Paste enable) + database processing
Here is the example grid , it may help you.
-
15 Jul 2009 12:08 PM #89
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>
-
15 Jul 2009 10:00 PM #90
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.


Reply With Quote

