extjs

ExtJS combobox problem in IE

I have an ExtJS combobox with a remote data store behind it. In all browsers it works fine, except in IE (all versions that I've tested) where the combobox expands for a splitsecond, showing a "loading" icon and then it disappears again. Clicking it again after this doesn't make it expand at all anymore. Basically: it's not being populat...

How focus a textbox after using extjs Ext.MessageBox.alert

I want to validate my extjs form. When the text field is empty, there should display an alert box and after that our cursor have to focus on the text box. I tried with the coding below. Alert is working fine. but cursor is not focusing. Can you please help me anybody to focus? if(Ext.get('first').dom.value=='') { Ext.MessageBox.aler...

How do I add additional parameters to an ExtJS handler?

I am using the ExtJS framework and I have the following handler that is used solely as a handler for a button: var myButtonHandler = function(button, event){ //code goes here }; My button definition looks like this: var myButton = new Ext.Button({ id : 'myButton', renderTo : 'mybutton', text : 'Save', h...

extjs and webwork: Show grid

Basically I have two questions: 1) I have a ext, webwork(struts 2) application. In the legacy application, it uses grid to show a table. In one jsp files: it has following two lines: listFilterWindows: $H(), treeListFilterWindows: $H(), I am wondering are there anybody in this forum knows what this '$H()' mean? It is referenced by f...

How to setup debug environment for extjs

I am using Eclipse EE, and tomcat for a webwork, extjs, hibernate spring application. For spring and hibernate staff, I have remote application debugging settings configured. So I make debug. But for extjs, I have installed firebugs in firefox browser in my ubuntu machine, but I still do not know how to catch break point to see how to tr...

Ext.data.Store, Javascript Arrays and Ext.grid.ColumnModel

I am using Ext.data.Store to call a PHP script which returns a JSON response with some metadata about fields that will be used in a query (unique name, table, field, and user-friendly title). I then loop through each of the Ext.data.Record objects, placing the data I need into an array (this_column), push that array onto the end of anoth...

extjs grid works in Firefox, not in IE

I have a collection of extjs objects on a webpage, developing using Firefox so I can debug using Firebug. After a while I start IE to check compatibility and get a blank page in IE, but all works in FF. In IE I get no Javascript errors. ...

extJS - Can not get data to render in GridPanel

The below code uses Ext.data.Store to retrieve a JSON with table metadata (for the column headings) and the table's data. The backend PHP script is working correctly and the Ext.data.Store contains valid records for the data - I just can't get them to go "into" the Grid itself. The API Documentation makes it seem as if I just define a s...

ExtJS: Add Single Click Action To A Node In A TreePanel

[revised] I'm creating a TreePanel in ExtJs that is loading its children from a JSON file. I'm having trouble adding a click action to the nodes. I'm not sure whether it's added in the script creating the tree, or if its added as a property in the JSON, and if so, what the syntax would be. Any help would be appreciated! Please provide an...

ExtJs sortable elements list

Is there any implementation of sortable list in ExtJs as JQuery UI .sortable has ? Or how could I drop element using jQuery UI sortbale from eastern panel of ExtJs layout to droppable sortable element in central panel of layout ? Now dragging element hides under layout :( ...

Advanced JavaScript data store & grid widget

We have written a data store / grid widget system in JavaScript that automatically updates all widgets associated with a data store whenever some of the data changes. Its nice features are: it supports sorting by multiple attributes (for example, by status, then priority descending, then date ascending, or whatever) the sort order is...

Ext JS - How to update data source update every minute with deltas ?

Looking for a reference implementation. Haven't tried LiveGrid - though tilting towards that implementation. Before I migrate, I was wondering if anyone could point me in a better direction. ...

Is ext js compatible with .jsp, java backend?

Is ext js compatible with .jsp, java backend? ...

Ext region property

I'm studying extjs now. new Ext.Viewport({ layout: 'border', items: [{ region: 'north', html: '<h1 class="x-panel-header">Page Title</h1>', autoHeight: true, border: false, margins: '0 0 5 0' },... i could not find 'region' property in the API. i checked viewport, component and other classes. i could not find it. ...

What is a good image chooser in jQuery?

I am looking for a nice image chooser in jQuery. Ext has a nice one here (under Examples and Demos -> Views -> Image Chooser). Is there something like this for jQuery? ...

Ext Dependency Builder in POPUP window

Hi all, I have a big problem that makes me go crazy ... I want to add into a popup window a "Ext Dependency Builder" component ... using the components here: "http://extjs.com/deploy/ext/docs/index.html" dialog = new Ext.LayoutDialog("name1", {layout parameters}) where "name1" is the name of a div on my main jsp page. I need to add a...

How to avoid showing loading text in Ext.form.ComboBox?

I use Ext.form.ComboBox in very similar way as in this example: http://extjs.com/deploy/dev/examples/form/forum-search.html What annoys me is that when the ajax call is in progress it shows loading text and I cannot see any results from before. Eg I input 'test' -> it shows result -> I add 'e' (search string is 'teste') -> result diss...

ExtJs Cascading-Combos Issue

I Have an issue (maybe it will be my mistake using incorrectly ExtJs, I hope I do) using ExtJs to do a cascading-combos in a form. This is the situation: I have 3 combos, Zones, Regions, Cities When I click on one of them in order, the related one will be updated making an ajax request using Json as data format (so even if I think it's...

Usage of ExtJS under GPL v3

If I decide to use ExtJS under GPL v3 instead of a commercial license model (Dual License Model), what exactly do I need to open source? I do not modify the library in any other way than configuration. Do I nevertheless need to publish the source code of my application? And if so, do I have to publish all code, even server side code? ...

How do I find the selected node in an ExtJS TreePanel?

I'm trying to retrieve the selected node, if any, of a TreePanel when the user clicks a button. How do you retrieve the select node in a TreePanel? Thanks. ...