Official blog released this new version of this note, English article please poke belowHttp://www.sencha.com/blog/announcing-sencha-ext-js-5.1/Please poke below the translated version:http://extjs.org.cn/node/738New version:Official:http://www.sencha.com/products/extjs/download/ext-js-5.1.0/3301Http://cdn.sencha.io/ext/gpl/ext-5.1.0-gpl.zipDoc documentation for EXTJS
Download extjs2.0.2 and want to see its API documentation. However, after opening docs/index.html, the window on the right is always in loading and cannot see the content.
The firebug error is:
This
. El has no propertiesFile:
//
/F:/document/JavaScript/ext-2.0.2/ext-all.js
Line
58
But look at the extjs site on the API Doc is good. Tried to download their website on the ext-all.js, or not.The
Problem:
After downloading the ext SDK, open docs/index.html to start learning, but start index.html at the discovery point. The tree structure of the page is always being loaded, and finally comes to the content we need.
Solution:
Because Ajax is used to open the help document, you need to deploy it on the Web server. It can be placed on tomcat or IIS. Take Tomcat as an example.
Step 1: Download Ext. Http://dev.sencha.com/deploy/ext-3.2.0.zip.
Step 2: Create a Java Web project and put the down
For Ext, download an ext2.0 API file and ask you how to understand the API. After you finish reading the API, you can use the API, but you must finish reading it.
Config optionsPublic PropertiesPublic MethodsPublic Events
It is basically
ExtJS learning ----------- Ext. Number, ExtJS extension of Number in javascript, extjs Extension
ExtJS extension of the Number in javascript, you can refer to its help documentation, Documentation: http://download.csdn.net/detail
ExtJS learning ----------- Ext. String, ExtJS extension of String in javascript, extjs Extension
For ExtJS String extension in javascript, you can refer to its help documentation, Documentation: http://download.csdn.net/detail/z11
Jquery.cookie uses documentation, $.cookie () documentation tutorials, JS operation Cookie Tutorial documentation.Actions in Jquery.cookie:Jquery.cookie.js is a jquery-based plugin that Https://github.com/carhartl/jquery-cookieCreate a session Cookie:$.cookie (' cookiename ', ' cookievalue ');Note: When no cookie time is specified, the cookie is created by default until the user's browser is closed and is r
I believe you have learned the charm of ExtJs. How can you apply ExtJS? To use ExtJS, you must first obtain the ExtJS library file. The ExtJS library file can be downloaded from the ExtJS official website.
Adapter: maps the third-
I believe you have learned the charm of ExtJs. How can you apply ExtJS? To use ExtJS, you must first obtain the ExtJS library file. The ExtJS library file can be downloaded from the ExtJS official website.
Adapter: maps the third-
after extjs compression. The compressed code is smaller in size and can be loaded faster;Of course the extjs documentation is in docs. The most important one is the extjs API, which is a magic weapon in the process of developing the extjs program.Examples is an official dem
.
relatively rich documents and examples undoubtedly, most people who have just come to extjs are attracted by the examples and development documents attached to it, its documentation is indeed good.
gorgeous and mature interface extjs's interface after 2.0 is really not only gorgeous, but also relatively mature.
Disadvantages
No suitable development toolsThere is no doub
Common Extjs tools: Extjs. util. Format
---------- String
Ext. util. Format. capitalize (string str); // uppercase the first letter.
Ext. util. Format. ellipsis (string value, Number length); // truncates a specified length character. The ellipsis '...' is automatically added to the end '...'
Ext.util.Format.html Encode (string value); // Encode the text
Lowercase (string value); // small write
StripScripts
It is helpful to consolidate the foundation. The Troubleshooting is shown in the following section. direct makes some troubleshooting notes to share with you one by one. If you are interested, you can refer to the occasional tears and finally complete Part of ExtJS.
(If the foundation is solid, it will be helpful. It will be reflected in troubleshooting)
Next we will take some troubleshooting notes on Ext. Direct:
Error 1:
The Code is as follows:
the latest IT technology)3. Network Environment)4. Have the habit of reading the source code (there are various code writing methods in the source code, and how to reuse components, etc ..)Extjs learning problems, really depressed recently want to learn extjs, download the ext-230 on the official website, always don't do well
First, the problem may be that the order of the ext package is wrong. We recommen
development experts, solving problems naturally faster than ordinary people. In addition to experience, one of the most competent aspects is that it is faster to search for information than ordinary people. Like a martial arts secret, it is usually not very useful to ordinary people. You have to be "advanced" and learn the "internal strength" first ". For extjs, the "Martial Arts secret" is the API document of ex
development master, solve the problem naturally faster than ordinary people. In addition to experience, one of the most capable is to find information faster than ordinary people. Like a martial arts cheats, fall into the hands of ordinary people is usually not much use, get "high man", first learn some "internal internal heart heart." For ExtJS, "Martial arts Cheats" is the ExtJS API
(resp, options ){// Standard JSON string '{"data": [{"msg": "abcd"}]}'Var jsonObj = Ext. util. JSON. decode (resp. responseText );// Display the modal prompt boxExt. Msg. alert ('title', jsonObj. data [0]. msg, function (btn ){// Ext's modal window is very important because it only shields operations, does not block threads, and js does not have threads.// Callback of the button event in the prompt boxAlert (btn); // then run});Alert (1); // execute first}// Failure: function () {...} // option
Question
This series of articles does not focus on the use of ExtJs in an all-round way, but focuses on how to solve the ExtJs problem. The writer does not have to give a long story, but the learner can be self-reliant. LAs long as you have basic knowledge about CSS javascript and are not very poor at English (refer to this tutorial to learn more about ExtJs APIs
activatedThis indicates that the event is triggered when the object becomes visible and active.After reading the API documentation, do you know how to use the Event? If you do not know, check the Code:New Ext. panel ({renderTo: 'paneldiv ', title: 'title', items: [{xtype: 'button', text: 'button'}], listeners: {afterlayout: function (panel, layout) {alert (panel. getXType ());}}});
Because active is not a directly called event, you can use the afterl
faster than ordinary people. In addition to experience, the most important aspect of the ability is to find information faster than ordinary people. Like a martial arts cheats. It is not very useful to fall into the hands of ordinary people. To "Gao", first learn some "internal internal heart heart."For ExtJS, "Martial arts Cheats" is the ExtJS API documentation
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.