extjs

How to use Jquery $(".something") to select a class in ExtJS?

Hi eveyrone, I'm looking for an equivalent method to select a class element like this $(".className") in Jquery for ExtJS. I understand that Ext.get() only takes in an id. Your help will be very much appreciated. Cheers, Mickey Edited: Let me explain further. I want to be able to do something like Ext.get after I did a "select". ...

Best way to GET the xpath and css selector of a specific element

Looking for the best way to GET the xpath and css selector of a specific element using jQuery or Extjs. To basically select a random element and traverse up the dom and retreive it's unique css selector or xpath. Is there a function that can do this already or does anyone have a custom function that can do this? ...

ExtJS GridPanel Scrollbar does not appear in IE7 but it does in Firefox, etc

Setup I have an accordion layout containing a "properties" panel that nests two inner panels. The first inner panel holds a Ext.DataView, while the second panel is the Ext.grid.GridPanel in question. In the screenshot below, the white space containing the folder icon is the dataview, and below that is the gridpanel. Problem In Fir...

Ext JS Grid Row Background Color Set

How would I go about setting the background colour of an Ext JS Grid row, mainly just the selected item(s). Any help would be greatly appreciated. ...

Clearing filters in a grid

Hi , I am working on clearing filters in the grid. grid.filters.clearFilters() will clear the filters on page refresh i.e it will uncheck the checkbox and all the records are displayed but the text in the textbox is not cleared How can i clear the texbox value when i hit page refresh. ...

What ExtJS 3 pitfalls should I avoid?

I am about to write a relative small data entry application using ExtJS 3+ for the front end, what pitfalls should I avoid when using ExtJS 3+? One pitfall that comes to mind is not truly understanding JavaScript (e.g.closures) Trying to use MVC pattern on the client side. ...

BlazeDS Flex-AJAX Bridge load doesn't work with Ext.JS

The FDMSLib for the Flex-AJAX bridge has a load function that renders a flash object to the page where ever it is called. This causes problems when using Ext.JS as the inserted object can either be discarded by another render function or cause conflicts during the rendering of the page, so I'm trying to rewrite the load function so that...

A php-based search facility with ExtJS not working well on Windows Environment

I created a search facility with ExtJS and PHP. The PHP file is the server side script with communicates with the database. On my Linux Environment, its working flawlessly. However, since I need to install this application on a Windows Server, I tried to copy it to my personal Windows XP. I installed Apache, PHP with the necessary exten...

how can I fill data to extjs component using querystring?

for example if I have extjs ComboBox, and I have URL like http://localhost:8080?param=value1,value2,value3 how can I access this << param >> value in ExtJS, so that I can covert it into something like Ext.data.Array or .... ...

Ext js licensing

hi, We have a CMS which is licensed under Apache 2.0 license and is available on github. Now i want to use extjs to make some kind of table editor for the CMS. I won't modify anything of ext-js but i will write an extension using ext-js. Now i was wondering which license to use for this. I'm a big noob when it comes to licensing and ...

Making development with Ext JS fast

Ext JS is a nice framework for web UI, but I found that building and putting stuff together takes a long time and painfully slow. This might be a general problem when working with JavaScript, but does anybody have any way to speed things up? What can I use? Better IDE with good JavaScript suppport? GUI designers? Code generators? I n...

Javascript: Uploading a file... without a file

I am trying to fake a file upload without actually using a file input from the user. The file's content will be dynamically generated from a string. Is this possible? Have anyone ever done this before? Are there examples/theory available? To clarify, I know how to upload a file using AJAX techniques using a hidden iframe and friends - ...

How can I get a FormPanel to POST JSON with ExtJS 3.1.0?

By default, a FormPanel in ExtJS 3.1.0 posts the form fields as application/x-www-form-urlencoded when you call its submit() function. Is there any way to get it to post JSON instead? ...

Is EXT JS Fast Enough?

We are going to be producing a RIA that will also be available using Adobe AIR for database management and manipulation with a php back end. In an effort to speed up development we have decided on using YUI or EXT JS. It appears that EXT JS out of the box will produce a better looking application than YUI but being essentially 100% JS...

Extjs form performance problem

We use big input forms with couple of input fields and run into performance problems. The exact problem is the render time of the form. It takes couple of seconds (4-10sec) to display the form. We use multi column layout and ~30 combo fields loaded by json datastore and another ~10 input fields. The render process is so slow so I can see...

ExtJS beginner - Samples/Extensions where is the documentation ?

Hello We have been looking at the ExtJS samples quite a few times over the years and recently decided to use it because I was looking at the samples and saw a Tree Grid and felt like "Yes this is exactly what I need". So I download ExtJS read a bit on the getting started/FAQ/Tutorial from the website. Then I decide to try to use the Tr...

Proper technique to close an ExtJS tab

What is the proper way to close an ExtJS tab programmatically? I need to make this work in IE6; although remove'ing the tab from the TabPanel works, I see an IE warning: This page contains secure and unsecure items... When I click the X on the tab, I do not see this warning. So, clearly something clever is happening when I click the...

How do I re-use components in ExtJS?

I have an ExtJS grid like so: var grid = new Ext.grid.GridPanel({ ... }); I'd like to be able to re-use this grid so that I can have it multiple instances of it that all act independently. Is the only way to do this is by using Ext.extend, or is there another way? I don't really need to extend it, I just need to be able to create ...

Can I use ExtJs without License like JQuery?

Can I use ExtJs without License like JQuery? Can I publish website using ExtJS without any permission from them? ...

In ExtJS, how do I load a store when I display a grid?

In ExtJS, how do I load a store when I display a grid? I want the store to load only when the grid is displayed (the user clicks on a button to show the grid, so it's wasteful to load the store beforehand). I tried the afterrender listener but it renders the loadmask in the wrong location, and the afterlayout listener reloads the grid ev...