Sencha Inc. | HTML5 Apps

General Questions

Published Sep 17, 2010 | The Sencha Dev Team | FAQ | Easy
Last Updated Jul 11, 2011

This FAQ is most relevant to Ext JS, 2.x, 3.x.

This article is currently due for review
We suspect that this article may be out-of-date or contain incorrect information.
But we are constantly editing articles, so we promise we will get to this one soon.

How do I get started?

The Getting Started Guide is a great place to start. For Ext JS 4.0, a range of great new guides cover most of the major areas of the API.

My code links to extjs.com/s.gif!

Somewhere at the top of your code (anytime after including the base ExtJS library code) you should place a line like the following one, that tells Ext where to find the empty image it needs for some widgets (preferably from your own server/domain). Modify the URL as needed:

This cannot be preset to a value that exists on your server. We cannot predict where you will place your image directory!

Ext.BLANK_IMAGE_URL = '/images/ext/resources/images/default/s.gif';  // Ext 2.0
Ext.BLANK_IMAGE_URL = '/images/ext/resources/images/aero/s.gif';  // Ext 1.1

You can also read about it in the documentation.

Ext does not work over HTTP, but does work locally

Rarely, there is an issue with Apache cutting off lengthy files — ext-all.js can get cut off mid-stream, which can lead to strange errors over HTTP while things work just fine served locally. There are various potential causes. See this forum thread for additional discussion and potential solutions.

Wait - I have another question!

We've broken up our frequently-asked questions into groups. There is a full list of FAQ articles.

Share this post:
Leave a reply

Written by The Sencha Dev Team

1 Comment

Feng Chen

3 years ago

How to display oracle clob data in grid?

Leave a comment:

Commenting is not available in this channel entry.