extjs

ExtJS with Squash Javascript Obfuscator

Hi, I stumbled upon this javascript obfuscator called Squash, I want to use it on my ExtJS project to obfuscate my javascript files. I've tried it and the result are totally obfuscated codes. But it seems that I have to obfuscate the ExtJS library too because I got warnings that it couldn't find functions such as Ext.onReady(), Ext.form...

Needing an ExtJS bug workaround

I have a web application that uses Ext-JS 2.2. In a certain component, we have an empty toolbar that we are trying to add a button to using myPanel.getTopToolbar().insertButton(0, [...array of buttons...]); However, in IE6/7 this fails because of lines 20241-20242 in ext-all-debug.js: var td = document.createElement("td"); this.tr.i...

ExtJS and jQuery in ASP.NET

Hi, I've seen some posts where jQuery has been favored vs ExtJS. I haven't looked at jQuery in detail, but from what I read so far, jQuery doesn't provide the kind of UI which comes with ExtJS. Am I correct? Why would some of you prefer jQuery in ASP.NET? Thanks ...

Using XTemplate with SimpleStore in Ext

I am currently adding some functionality to some old code. There used to be a template which took a flat array of items and spat out some HTML, now the data is coming from a simple store which reads some JSON.. var allwords = [ ['abacteriano', 'abacteriano'], ['abacterial', 'abacteriano'], ['abciximab', 'abciximab'], etc.. ...

GWT - GXT - How to get Radio Button Value ?

Hi I am using GWT (Google Web Toolkit) 1.5.3 et GXT (ExtJS) 1.2 I just want to create a simple form with some radio buttons generated after a RPC call, to get some values Code: final FormPanel simple = new FormPanel(); simple.setFrame(true); simple.setWidth(350); simple.setHeaderVisible(false); DateField date = ne...

HELP Retrieving the url parameter from a JSON store from a EXTJS ComboBox

Hi everyone... I am having a problem retrieving the parameters from the url section of a json store for a combobox in EXTJS from my code behind page in c#. The following is the code in the store: var ColorStore = new Ext.data.JsonStore( { autoLoad: true, url: '/proxies...

Ext RadioGroup - How to Access the value of selected radio button?

Hello, I am having some difficulty accessing the value of the selected radio button in a radiogroup. I've attempted a number of different approaches based upon discussion in other posts on the forum and around the web. Unfortunately haven't been lucky (or skilled) enough to get it working. Based on the following FormPanel config I was ho...

ExtJS: AJAX Links in Grid in Tab in Window

I am working on my first project using ExtJS. I have a Data Grid sitting inside a Tab that is inside a Window. I want to add a link or button to the each element of the grid (I am using extended elements at the moment with HTML content through the RowExpander) that will make an AJAX call and open another tab. ...

cloning ExtJS components using JQuery

I'm trying to clone form components using JQuery's .clone() (actually, I'm cloning a collection of fields by cloning the container element). Everything worked out well except that the datefield, comboboxes are not working, even the validation for minLength, etc. is also not working. By the way, I'm just transforming an old html form fie...

Do you use jQuery, extJS, or other javascript libraries with Actionscript and Flex?

Since Actionscript is a proper superset of javascript, it should I suppose be possible. Do you use/have you used any of the the javascript extension libraries with Actionscript/Flex/Air? ...

401 Returned for every 5th call in an ASP.NET MVC application that returns JSON

This is nuts. I have an ASP.NET MVC application using Windows authentication that, amongst other things, interacts with a number of ExtJs Javascript components by returning JSON data to them. The problem is that even after the user is successfully authenticated, every 5th request to grab some JSON data from MVC results in TWO "401 Unau...

How to center a mask in a Panel when rendering

I have a simple scenario where a panel needs a masked loading indicator over it while its loading the content. I have the mask working fine using the following code but the loading indicator appears at the top when calling it the first time. When calling it after the panel is shown, ie. on a button event, the mask appears correctly in th...

What's the best way to document ExtJS code?

Is there a good way to document ExtJS classes and functions and display them in html similar to the ExtJS documentation itself? I've looked into JSdoc but this doesn't seem to work with ExtJS. Are there any other tools that can do this? ...

Specifying a root node of FormPanel.form.load for dynamic forms

I'm building a dynamic ExtJS form based on JSON data loaded from an ASP.NET web service. The problem I find is that ExtJS expects the JSON in a specific format, ie. { "metaData": { "title": "Testing" }, "data": [], "success": true } When using an ASP.NET web service to return an object as JSON it returns with the first element "d", i...

EXTJS Combobox not selecting by valueField after expand

I have written some code that works pretty well, but I have a strange bug Here is an example... PLEASE WATCH MY COMBOBOX BUG VIDEO Like I said, this works well every time datachanged fires - the right index is selected and the displayField is displayed but, everytime after I type some text in the combobox, later, when the "datachan...

ext license

Which of the licensing options for the Ext JS library will apply if I use it in our in-house company CMS? ...

Mathematical formula not giving same answer in C# as in excel, or calculator

Hi All... I have been trying to use a formula that is used to work out exclusive VAT in a program that our team is creating. The formula works correctly when used in a calculator or in excel, though gives a different output when used within a function in our program! here is the function: function fn_calcVat() { var vRate = Ext.g...

What is the best practice to use ExtJS with Django Framework

I like to use django in the server side with extjs in the client. Possibly using a REST interface for publishing the resources. Ideas about that? thanks. ...

How can I avoid EXTjs with YUI-based alternatives to EditorGridPanel and ColumnTree?

There's some discussion at my work about using Jack Slocum's EXTjs library as an extension to YUI (already in use) for a project in development. I'd like to help avoid a dependence on EXTjs's commercial licensing model if possible. The primary two features desired from EXTjs are EditorGridPanel and ColumnTree. As far as I can see, it ...

AJAX command-line interface in browser

I'm building a Web app to allow users to view and manipulate data, particularly numeric and geographic data. It's important that the output be clear and professional (data grids, Google Map overlays, etc.). But in terms of the user interface, I'd rather start with the flexibility of a command-line interface before building GUI-style form...