extjs

Ext.ux.tree.XmlTreeLoader not working in IE.. is my hypothesis correct?

I'm a beginner here so I apologize if this question is badly worded. I have an XmlTreeLoader that is loaded up every time a row is clicked in an Ext.grid. It works fine in Firefox and Chrome, but whenever I try to run it in IE I get the error: Wrong number of arguments or invalid property assignment I tried using the developer to...

ExtJS grid alternative with more flexible license?

The ExtJS grid is awesome. However, the GPL license is not. Is there a similar alternative available under a more flexible license? It must have inline cell editing. ...

pre-selecting value in Combo box in extjs

Hi all i want to inplemnt this combobox in extjs main thing is how to make "selected" value 3 <select name="meter_payment_option" onChange="smart_meter(this.value)"> <option value ="1">All Up-Front</option> <option value ="2">Reduced Up-Front</option> <option value ="3" selected="selected">No Up-Front</option> </select> till now ...

why my listeners does not work on extjs ?

here is the code and also i want onPaste event instead of click but nothing working var mpan0 = new Ext.form.TextField({ name:'mpan[]' , value:0 , allowblank:false , enableKeyEvents:true , fieldLabel:'Mpan', maxLength:2, width:35 }); mpan0.addListener('click', function(){ alert( "amiy"); }); ...

Extjs: extend class via constructor or initComponent?

In extjs you can always extend an extjs class via the constructor(). For classes derinving from Component you can also extend via initComponent(). I am wondering why so many code extend via initComponent, whereas constructor seems to be the universal extension method. Does initComponent offer clear advantage over constructor? ...

Developing financial application

My boss wants me to develop an application very similar to an accounting system (that will be a part of another big system, written in ruby (using rails) and javascript (using extjs)) How can I start? For example, I had a plan to use mongodb for our system, but now I'm not sure because of luck of transactions and ACID in mongodb. Wh...

How to set width in Ext.grid.ColumnModel in percentage terms?

How to set width in Ext.grid.ColumnModel in percentage terms? ...

get the record value from XML Store in EXT js

Hi, I am ExtJS for GUI development. I am using XML Store for retrieving the data from server. My XML looks like this. <meta> <entry>x</entry> <entry>Y</entry> </meta> <data> <value>100</value> <value>500</value> </data> Where X=100 and Y=500 How do i retrieve the data and value from this using XMLStore? ...

Ext JS Cycle through items of a Ext.form.CheckboxGroup

I have a Ext.form.CheckboxGroup with multiple items of Ext.form.Checkbox. Is it possible to cycle through each item of the Ext.form.CheckboxGroup? I have tried the following to no avail: for ( var i in Ext.getCmp('product_category_group').items.items) { console.log(i.getId()); } Any advice appreciated, thanks. ...

ExtJs multiline input

How do i create a multiline input with vertical scrollbars in EXTJS? I used this noteField = new Ext.form.TextField({ emptyText: 'note...', multiline: true, applyTo: 'txtNote', maxLength: 250 }); noteField.setSize(200, 100); but the input is not...

Ext JS: AJAX response opens new browser tab

How can I make an AJAX request using Ext JS and have the response (a PDF file) load into a new browser tab (or window)? ...

Populating an Extjs graph with json not working

So What Im trying to do is populate an Extjs line graph. Ive created a JSON store that pulls json from a remote page and for some reason my graph is not being populated. Heres my Ext code: Ext.onReady(function(){ var store = new Ext.data.JsonStore({ autoDestroy: true, url: 'http://myURL.com', storeId: 'graphStore', roo...

ExtJS combo elements disappear on select

I have a simple combo box with some values in it, populated by a json store. The problem is that when I click the drop down and select a value, all the other values disappear so that I cannot select another value. Heres my code: Ext.onReady(function(){ var dropDownStore = new Ext.data.JsonStore({ autoDestroy: false, fields: ['g...

Modeless dialog in ExtJs

Hi, I want to implement modeless dialog boxes in ExtJS. For exapmle, the new pop-up window/panel should not leave the originating screen as inactive. Both should be accessible at the same time. How do we that? ...

How to discover if an Ext.FormPanel is changed

Hi, i've some Ext.FormPanel and i want to enable the "Save" button only when the user changes the values inside the form. How can i discover that the user changed some fields ? I've tried with form.on("change"), SelectionMode but without any success. Thanks ...

ExtJS: How to dynamically add child nodes to treepanel

How can you add a child node to an existing TreePanel programmatically using JavaScript? I have a TreePanel that displays the active layers of a map (using GeoExt): treeConfig = new OpenLayers.Format.JSON().write([{ nodeType: "gx_baselayercontainer", text: "Base layers", expanded: true }, { nodeType: "gx_overlaylaye...

Ext JS Reordering a drag and drop list

I have followed the tutorial over at http://www.sencha.com/learn/Tutorial:Custom_Drag_and_Drop_Part_1 It is great, however now I need pointers on how to add functionally of being to be able reorder a single list. At the moment when I drop a item on the list it is appended at the end. However I wish to be able to drag a item between two ...

Bypass Ext Direct on HttpRequest

Our company app utilizes the Ext Direct so it bundles and sends requests from our client to the our MVC framework. Currently I'm working on a side project to test out GWT, and would like to get my test page to talk to our server. My question is if it is possible to bypass Ext Direct to send an http request to mvc directly, or Ext direc...

ExtJS turning off field validation onkeyup

Hi folks, I have an ExtJS combobox, which is a required field, but I don't want the required field error message to show up until I try to submit the form. Right now, it is happening on keyup it seems like. I have set validateOnBlur to false, but it still shows up. I am specifying a vtype though, 'required", and it still seems to fir...

Tie ExtJS form panel to Asp.net Form

We're running into an issue where we are inheriting from an ASP.NET base page which already provides a form. However, we also want to use the ExtJS form panel. Is there a way to use the form panel such that the form created by the ExtJS can be tied to the ASP.NET form? If we use the ExtJS form panel within the ASP.NET form, then we ge...