Ext JS - Learning Center

Ext FAQ

From Learn About the Ext JavaScript Library

Jump to: navigation, search

How do I get Started?

The Getting Started Guide

General issues

My code links to extjs.com/s.gif

Somewhere at the top of your 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.

Specific issues

Debugging

Errors

ComboBox

Forms

Getting elements, components, DOM

Grids

Layout

Tab Panels

Trees

Ajax

Misc

Getting Help

  • This page was last modified 17:31, 18 November 2008.
  • This page has been accessed 327,468 times.