Frequently Asked Question

How do I get SVN access?

Read-only SVN access is available only to Support License holders. The URL is http://code.extjs.com/svn/gxt/trunk.

I do not see any styles are images

Make sure to include the ext-all.css file in your host page.

How to refresh a tree ?

Use TreeStore.add(M parent, M item, boolean addChildren), TreeLoader.loadChildren(parent) or TreeLoader.load()

Why cannot I only add Fields to a FormPanel ?

FormPanel has a FormLayout which only renders Fields. If you want to use other widgets, use AdapterField.

How to handle selection events on a Tree ?

Use TreeBinder.addSelectionChangedListener(..)

How to build a simple Tree with strings ?

Just manually add the items, using TreeItem.add(TreeItem), starting with tree.getRootItem().

I have different behaviours in Internet Explorer and Firefox, is it a Ext GWT bug ?

Ext GWT requires either no doctype or the following doctype (quirksmode):

How do I explicitly listen for mouse clicks on a widget?

In some cases, you can add a selection listener to a widget instead of listening for mouse clicks.

How can I stop an event from continuing (ie beforeXXXX event)?

How do I stop a window from closing and ask "Are you sure"?

Use the event.doit=false in a window listener and then add/remove that listener depending on the answer.

Can I use GWT widgets in GXT ?

Yes.

I've add widgets to a panel, but they don't show up - why?

Call layout() on the panel.