PDA

View Full Version : Files for locking Grid



pixelfx
30 Nov 2010, 1:32 AM
Hi,

I am very new to extJS, and i was really excited to see whole bunch of extensions & plugins. So i am using locking grid for my project. I see there are lot of JS files included.

ext-base.js
ext-all-debug.js
LockingGridView.js
locking-grid.js

My question is, do i need to have all these files for the plugin to work..? Becuase i am wondering with all these files it will hit the perfomance of the application.

Any thoughts............

thx,
ravi.

Condor
30 Nov 2010, 1:56 AM
You should build your own .js file that includes only the parts from Ext that you are actually using and your own files.

Are you actually using Ext 2.x? In that case you will need to use JSBuilder v1.

If you are using Ext 3.x then you should use JSBuilder2.

pixelfx
30 Nov 2010, 2:48 AM
Thanks Condor. I think am using Ext 3.x. I have downloaded JS builder and i have found out jar file. But i work on Dreamweaver, can you please let me know how can i compile all the js files into a single file...

Condor
30 Nov 2010, 3:45 AM
First, create your own .jsb2 file.

Next, execute the .jar with java.exe (see command line options).