Questions tagged [extjs3]

Ext JS 3 is the third major version of JavaScript library for building Rich Internet Applications (RIA).

Ext JS 3 is the third major version of JavaScript library for building Rich Internet Applications (RIA).

Documentation for Ext JS 3.4 is available from Sencha, while documentation for Ext JS 3.0 can be difficult to find outside of personally hosted API docs. Here's one: http://www.vinylfox.com/docs/

See for more information.

1023 questions
29
votes
6 answers

Better way to call superclass method in ExtJS

All the ExtJS documentation and examples I have read suggest calling superclass methods like this: MyApp.MyPanel = Ext.extend(Ext.Panel, { initComponent: function() { // do something MyPanel specific here... …
Rene Saarsoo
  • 13,580
  • 8
  • 57
  • 85
28
votes
1 answer

How to modify entered value in string filter

I have a string filter for 3 columns in my grid. This is working fine. In third column whose dataindex is abc I want to modify entered value. For example if I press 0 then it filtered all the data which having 0. I want to press 'No' instead of 0…
David
  • 4,266
  • 8
  • 34
  • 69
20
votes
5 answers

How do I get an extjs combo box to act like a normal, html select box?

ExtJS provides a fancy combo-box that has lots of features - type ahead, allowing for random text entry, hiding all the entries in the drop-down list that don't star with the text that has already been entered. I don't want these features. I want a…
Spike Williams
  • 35,795
  • 13
  • 48
  • 60
19
votes
6 answers

How to add an empty item to ExtJS combobox?

I want to add and empty item (display value is blank, item height is kept as normal) to an Ext.form.ComboBox. I refered 2 links below to configure my combobox, but it still not display the empty…
Đinh Hồng Châu
  • 5,300
  • 15
  • 53
  • 90
18
votes
4 answers

ExtJs Message box with Custom buttons

How to display ExtJS Message box with Custom buttons. I want a Message box with a Custom message and "Cancel" and "Deactivate" Buttons. Please give some idea. buttons: [{ text: "Cancel", handler: function () { Ext.MessageBox.hide(); …
MNR
  • 1,073
  • 7
  • 23
  • 37
18
votes
1 answer

What is the alternate of headerCt.getMenu(); in Ext JS 3

I am using Ext JS 3 and I need to get ahold of the menu of my column header. I tried to use afterrender of grid. My code is somewhat like listeners: { afterrender: function() { var menu =…
David
  • 4,266
  • 8
  • 34
  • 69
17
votes
5 answers

How to auto select (show) the first value of combobox in Ext Js?

This is my combobox { xtype: 'combo', fieldLabel: LANG.LOGIN_LANG, id : 'lang', store: [ ['tr','Türkçe'], ['ru','Русский'], ['en','English'] ], mode: 'local', triggerAction: 'all', …
ilhan
  • 8,700
  • 35
  • 117
  • 201
16
votes
3 answers

File download a byte array as a file in javascript / Extjs

In my Ext Js solution I am calling a service which is returning this JSON format {"success":true,"filename":"spreadsheet.xlsx","file":[80,75,3,4,20,0,...(many more)]} How can I make a file download dialog with the filename and the content of the…
Jepzen
  • 2,942
  • 6
  • 40
  • 62
15
votes
7 answers

How do I force the display of a decimal in an ExtJS NumberField to a certain precision?

I have a form with a NumberField that gets values of type float from JSON. If the values happen to be whole numbers, then no decimal places are shown. I would like to show 2 decimal places at all times. Is there a config option for this? Here's my…
Mike Sickler
  • 33,662
  • 21
  • 64
  • 90
14
votes
2 answers

how to load React app / Lib inside ExtJs Component

We are using Extjs 3.1 and we are trying to integrate reactjs into. we have vendor library which has react, reacr-dom, redux and other libs are packed and included as script. Here is my extjs code var CompositeViewer = Ext.extend(Ext.BoxComponent,…
Nnp
  • 1,813
  • 7
  • 36
  • 62
12
votes
1 answer

ExtJS (JavaScript) Module Design Pattern best practices

I have a question about best practices with the Module Design Pattern. The code below is an example of the way that some of our Components are written (we use ExtJs but that shouldn't matter too much). We build a lot of our components like this…
blong
  • 2,815
  • 8
  • 44
  • 110
12
votes
2 answers

ExtJS 3: Two ways of creating custom class: what's the difference?

I'm trying to learn ExtJS and object-oriented JavaScript in general. I've seen people defining classes in custom namespaces in a couple of ways. What's the difference between these two methods? Method 1 Ext.ns('myapp.cars'); (function(){ var Car…
clint
  • 14,402
  • 12
  • 70
  • 79
12
votes
6 answers

how to show/ hide column in a extjs 3 grid panel

I have a grid panel i need to show / hide columns in a grid panel depending on the value of a checkbox. If the checkbox is checked i need to display column in the grid and if it is unchecked i need to hide the column in the grid. Here is my code var…
xrx215
  • 747
  • 6
  • 22
  • 38
10
votes
6 answers

Which is better - Ext.get() or document.getElementById()

What is the difference between Ext.get() and document.getElementById() in terms of performance? Will Ext.get() be slower as it may internally call document.getElementById() ? Or is there any specific advantage of using Ext.get() ?
hop
  • 2,518
  • 11
  • 40
  • 56
10
votes
8 answers

Extjs 3 to Extjs 4

I want to migrate from extjs 3 to extjs 4. I have tested sample Extjs 4 example in rails 3. I have observed that page rendering time is very slow in extjs 4. I don't know what is the reason. Can anybody tell me, what is the reason behind that? or is…
Anand Soni
  • 5,070
  • 11
  • 50
  • 101
1
2 3
68 69