Skip to content Skip to sidebar Skip to footer

Is It Possible (and How) To Remove Unutilized Widgets From Ext Js Library?

Ext JS base and widgets together offer me the solution I've been looking for. The Ext JS library is somewhat heavy w.r.t. conventional standards. There are several widgets in the l

Solution 1:

Yes, though some of the components are easier to remove than others, as there are dependencies.

Use JSBuilder. http://www.extjs.com/products/jsbuilder/ You need Java to run it.

Then, in the extjs distribution there is a file in each branch named "ext.jsb2", which is the JSBuilder project file.

Copy that file to something like "ext-custom.jsb2", then carefully remove components you don't need, then run a command like this:

java -jar JSBuilder2.jar --projectFile C:\extjs\branches\ext-3.1.x\ext-custom.jsb2 --homeDir C:\ext-custom

The output will be in the custom directory, and you'll have ext-all.js, etc. with just your stuff.

Solution 2:

Yes, it is possible. That tool is available on their site. JSBuild2 is created by ExtJS team for that purpose. You just edit ext.jsb2 file appropriately.

There is an old page and a forum thread.

Post a Comment for "Is It Possible (and How) To Remove Unutilized Widgets From Ext Js Library?"