extjs

ExtJS: How to extend an Ext.Panel with a BorderLayout?

Hi, I am trying to display a panel with a BorderLayout. The panel being displayed is an instance of an Ext.Panel subclass. I had the panel displaying perfectly before attempting to add the layout, but with the layout added it doesn't show at all, without throwing any errors or giving any useful feedback whatsoever. Using exactly the same...

ext js grid-ajax issue

i have placed my Yuigrid in UpdatePanel ,but the grid invisible. why ...

What's the problem with the ExtJS Hybrid State and encoding using PHP ?

So the other day I posted about a problem I had trying to use the sessionProvider found in the examples of ExtJS but it was in a fairly complex page so I figured I woud trim things down and use the basic array-grid sample that uses the default CookieProvider to demonstrate the state saving in a cookie and modify it to use the SessionProv...

TabPanel Internet Explorer Problem

Hi, I have a TabPanel where each tab is a ManagedIFrame. A dark blue block (below the tab panel) as shown in the image gets added whenever a new tab (also a maangediframe) gets added. It happens only in IE 8. It does not happen in Firefox. Any suggestions? image: http://www.sencha.com/forum/attachment.php?attachmentid=21712&d=128034...

Bind BasicForm to Ext.Toolbar

Hi I've got an Ext.Toolbar with form elements in it including a FileUploadField. I'd like to be able to submit this "form" using an Ext.form.BasicForm. How should I do this? Ideally it should behave as a FormPanel with a ToolbarLayout (though this doesn't render correctly). ...

extjs 3.x multiple instances

extjs 3.x , var box = new Ext.Textfield { .../* somr thing /...... }; var form = new Ext.formpanel{ ..../ settings here for form */ items:[ box ] } actually this works fine but problem is i want to create multiple instances of it "box".so that when i create multiple forms box i do not sacrifice the settings box , also i donot want t...

How dynamic funnel?

The kind of language, in both IE and firebox compatible. ...

Ext.form.ComboBox: Use template for displayField

Is there any way to apply a template to the selected value of a ComboBox? I'm using a template to display the drop down values of the ComboBox, but as soon as i select one, the plain value from the datastore is shown. { id: 'requestStatusCombo', hiddenName: 'requestStatus', tpl: '<tpl for="."><div c...

using JSBuilder2.jar in Maven2 Web Application

Hi Folks, I have started playing with Maven2 and I'm attempting to port one of my projects from ant to maven. I have managed to build ear file, use jaxb and other bits, but there is one thing left I don't know how to approach. I have WAR module, with ExtJS code, and I'm using JSBuilder to create and package the code nicely. This is don...

Populating combo from XmlStore with Ext js designer

I am trying to get working a simple (noob) examle of Combo loaded with data from Xml file. Here is my xml: <?xml version="1.0" encoding="UTF-8"?> <accounts> <account> <name>Savings Account</name> <id>1</id> </account> <account> <name>Current Account</name> <id>2</id> </account> </accounts> When I configure and add XmlSt...

Long process blocks waiting icon render in ExtJS

The feature I'm implementing is not a really required, so I won't include an extra library of threads just for that. But if someone knows a workaround I will appreciate it. So I have a grid of 256 rows and 3 columns; one those columns is a checkboxColumn (similar to the one used here). But that checkboxColumn plugin has being modified t...

Drag from Tree to div

Hi, I am trying to implement a drag and drop senario from an extJs TreePanel into a div in the body of the page. I have been following an example by Saki here. So far I have the below code: var contentAreas = new Array(); var tree = new Ext.tree.TreePanel({ title : 'Widgets', useArrows: true, ...

ExtJs / Sencha : how to highlight a grid row after insert ?

Hi, I want to create such a grid: http://www.sencha.com/deploy/dev/examples/grid/edit-grid.html Actually I already did, but I want to highlight the last inserted row of my grid (in extjs this is the function highlight(), which does a yellowfade on the element). I didn't actually succeed in doing this... my problem is that I can't get ...

ExtJS RowButton that cancel row selection.

I'm trying to add row buttons to a grid panel. Theese buttons should capture the click event, do their stuff, and prevent the row to be selected. The problem is that the row behaviour that changes the row selection is running before the button's event (like if the row was capturing it instead of wait to event bubbling). Is there any wa...

problem with Ext JS grid

hi, iam new to Ext js iam displaying a tree inside a grid. it works fine.but according to my new requirement, i have to use seperate coloumn headers for parent node and child nodes.is it possible to have more than one coloumn header for a single grid? ...

Ext JS 3.1.0 RESTful Store DELETE in IE 7 throws exception

When using a Restful Store the remove command is throwing an error (Line 1717 of ext-base-debug Error: Invalid argument) when it tries make the DELETE ajax request. Specifically the error is occurring in the asyncRequest method in ext-base when o.conn.send(postData || null); is called. I created a standard Ajax request and used the DELET...

Ext.Direct: matching return values to calls

I am making a sequence of Ajax calls using the Ext.Direct module. I want to save some data when I make each call, and then match each return value with the correct call. In the server call, Ext provide a tid property (presumable "transaction identifier") in the JSON packet which it uses match return values to calls. Problem is, there do...

ExtJS listeners: anonymous function parameters

I grabbed this code form some book I've bumped on the InternetS... sm: new Ext.grid.RowSelectionModel({ singleSelect: true, listeners: { rowselect: { fn: function(sm,index,record) { Ext.Msg.alert('You Selected',record.data.title); } } } }); now, sm is shorthand for selection...

extjs: nested baseParams in request

Hi ExtJS guru, In the frame of an Ajax request, I am trying to use a nested object for parameter "baseParams". Basically, I would like to produce an URL like "ajax.php?foo[controller]=demo&foo[action]=index". Bellow is the code that wrongly produces: "ajax.php?foo=[object]&foo=[object]". Ext.data.JsonStore( baseParams: { ...

How to add records in json-store

var store = new Ext.data.JsonStore({ id:'jfields', totalProperty:'totalcount', root:'rows', url: 'data.php', ...