Questions tagged [extjs4]

Please use this tag in relation to ExtJS 4.0 - 4.2; Ext JS 4 is the fourth major version of the JavaScript library for building Rich Internet Applications (RIA), and now includes an MVC architecture without the need to use plugins. Sencha has already released ExtJS 4.1 which has some significant changes compared to the last stable 4.0.7 release.

Filter by
Sorted by
Tagged with
0 votes
1 answer
45 views

ExtJs - delay in rendering column list in table when adding dropdown from column list

I'm trying to make a drop down button with a list of columns in a table. I created this code, but the problem is that when the code is executed, there are no columns in this yet, so the array is empty....
Harry Baker's user avatar
0 votes
0 answers
13 views

How to reset pagination in datastore-Extjs

Currently I added one feature to navigate to one page and show the filtered records , but the page is using pagination so the issue is like it's filtering individual pages and showing filtered records ...
Febin's user avatar
  • 1
0 votes
0 answers
43 views

How to use menuDisabled inside a tree grid panel

So I have a tree panel which contains some columns like a grid .These columns have menu's enabled by default . I want to completely disable/hide it.I suppose menuDisabled only works in Ext.grid.panel ...
Honey Singh's user avatar
0 votes
1 answer
72 views

having search bar inside grid with dropdown, how to get floating dropdown when entering last 3 digit

inside grid click on add row it pop up a row contain 3 column 1 with search bar with dropdown where it store data from data base , when entering a digit it starts from first letter I wanted it to take ...
techie's user avatar
  • 1
0 votes
0 answers
38 views

I want to show status without refreshing page

{ text: 'SFTP Upload Status', width: 115, align: 'center', xtype: 'actioncolumn', sortable: false, ...
Febin's user avatar
  • 1
0 votes
1 answer
151 views

how can I disable checkbox for the same grid row using listener?

I have these two grid checkbox columns xtype:'checkcolumn', dataIndex:'FUN', id:'fun', listeners:{checkchange:'onFunChecked'}, xtype:'checkcolumn', dataIndex:'FUN2', id:'fun2', listeners:{checkchange:...
Honey Singh's user avatar
0 votes
0 answers
37 views

Extjs-When trying to download a zip file , zip file getting corrupted

when trying to get zip through postman we are getting zip file correctly , but when I'm trying to get using ajax call zip file I'm getting is corrupted . I used fetch function also but its not working
Febin's user avatar
  • 1
0 votes
1 answer
44 views

Extjs: Remove child tags from tagfield when parent tag is removed

I have two tag fields. 1-Parent tag 2-Child tag Parent tag includes 5 categories i.e a,b,c,d,e Child tag includes the corresponding tags from parent Ex- If a user selects parent tag 'a'(or a,b,c) or ...
Aakash Singh's user avatar
0 votes
1 answer
139 views

Unrecognized class name / alias: widget.passwordfield

In extjs when trying to add xtype:'passwordfield' i'm getting this following error: Unrecognized class name / alias: widget.passwordfield Synchronously loading 'widget.passwordfield'; consider adding ...
Febin's user avatar
  • 1
0 votes
1 answer
178 views

Invalid namespace ExtJs

when generated new app for extJs using this command on Ubuntu terminal sencha generate app -ext MyApp path/to/folder that time terminal show me Sencha Cmd v7.5.1.20 [ERR] The specified string cannot ...
Shahadat Hossain's user avatar
0 votes
1 answer
66 views

How to add a MessageBox prompt in Extjs with mandatory input

Is there any way to add mandatory check for the input to the MessageBox prompt in Extjs like we use allowblank for textfields?
Aakash Singh's user avatar
0 votes
2 answers
49 views

getNameByAlias removed in Ext JS 5

Currently a Ext JS 4 uses getNameByAlias of https://docs.sencha.com/extjs/4.2.6/#!/api/Ext.ClassManager in its code to map database dynamic alias configurations to class matching to it. Application ...
João's user avatar
  • 2,306
0 votes
0 answers
74 views

Extjs Iframe - displays "cannot connect error message"

I have an extjs iframe created as below which gets rendered onto a page when called using its xtype. However, the page displays "cannot connect to" the URL I specified in src parameter error ...
Ash's user avatar
  • 63
0 votes
1 answer
391 views

Extjs iframe - Embedding content from another page into an extjs application

I am new to working with iframes in extjs. I am looking to embed content from another page (another URL) into an existing extjs application. Is extjs iframe the correct way to go about it? if so, how ...
Ash's user avatar
  • 63
0 votes
1 answer
133 views

Extjs 4.X Move records of a grid UP/DOWN with a button

This post is continuation of my earlier post (here) for which I couldnt find a working solution (yet). In brief: I have created a Extjs (4.X) grid which has records of parents and childrens. The ...
vick_4444's user avatar
  • 293
0 votes
1 answer
116 views

Setting the pageSize of Extjs bufferedstore based on a config file

I have an Extjs bufferedstore as below: Ext.define('myStore', { extend: 'Ext.data.BufferedStore', requires: [ 'myStoremodel' // model that the store takes in ], storeId: 'myTeststore', model: '...
Ash's user avatar
  • 63
0 votes
1 answer
75 views

Extjs bufferedStore infinite scroll not working to trigger Ajax calls

I have a buffered store that makes an ajax call. I have about 40 records in total. I want the multiple ajax calls to be triggered on scrolling the page. However, as soon as I load the page I see the ...
Ash's user avatar
  • 63
0 votes
1 answer
169 views

Extjs Buffered store not triggering multiple API/ajax calls

I have a buffered store that makes an ajax call. I have the API defined to take some start and limit and only return the results between that start and limit. However, I am not seeing multiple API ...
Ash's user avatar
  • 63
0 votes
1 answer
143 views

EXTJS 4 how to validate radio group?

Before I dive into source code and hack it. I set allowBlank: false on radio group. I would like to mark it if none of the radio is selected. What method to override ? Regards Armando
Armando's user avatar
  • 177
0 votes
1 answer
76 views

Extjs 4.0 Combo box for a remote query not displaying. The Drop down values show blank description

I am trying to upgrade from Extjs 3.4 to Extjs 4.0 initComponent: function() { this.items = [{ xtype: 'fieldset', width: 600, bodyPadding: 40, title: '...
Markus W's user avatar
1 vote
2 answers
126 views

Create one or more textfield dynamically based on combobox selection

I am working on a front UI, a dropdown will be provided which will have the list of commands and one or two variables depending of command, what I am trying to do is when I select the command from ...
Abhinav's user avatar
  • 13
0 votes
1 answer
161 views

Is there a way you can load a Ext JS ComboBox with the last selected option locally?

I want to be able to load whatever option was selected last in my Ext JS ComboBox when I refresh the page. Currently with this code below it just loads the first option 'all' every time. I know there ...
FrangosChickenSauce's user avatar
0 votes
1 answer
57 views

Extjs default class properties

I came across a defualt class called 'x-btn-over' on Extjs which is triggered on a mouse hover. I wanted to ask what the default properties of this class is? Also where can I find all the list of ...
Sabir Asmare's user avatar
1 vote
1 answer
57 views

Ext Js error when using ext-gen (caractere incorrect)

I'm new to working with Ext Js. I downloaded it using npm and then followed the documentation on the website, when I tried to create my first application, I got an error saying "caractere ...
AmineMraihi's user avatar
0 votes
0 answers
173 views

Preventing to create an empty row in grid when clicked outside of a grid row extjs

I am not much experienced in Extjs. I have a grid. It has one column [IP Address]. There are two tabbed buttons provided 'Add' and 'Remove'. On click of 'Add', adds an IP to grid and 'remove' removes ...
Abinash Dash's user avatar
0 votes
1 answer
865 views

How to set dynamic value on extraParams store extjs

hi i have a problem to store dynamic value to extraParams on extjs.. my case is i can get value from my component when im console it on here: listeners: { load: function (store, records, success) {...
Jazuly's user avatar
  • 1,404
0 votes
1 answer
885 views

Cannot use bind config without a viewModel when bind store model

I have a problem when I bind the data store from the data model in the model I get responses that I have sent when I want to set the data in the grid error Cannot use bind config without a viewModel ...
AndrewLee's user avatar
0 votes
1 answer
475 views

How to route to a view on button click (ExtJS 6.2)

So i have created two views : one a login dialog and the other (the following) is a dashboard basically. On login click i use this.redirectTo("dashboard",true); hoping that it will trigger ...
user avatar
0 votes
1 answer
35 views

Combobox filed in Extjs (6.x.x) sometimes it works fine and sometimes no

I´ve a following combobox in extjs: xtype: 'mcomboboxfield', itemId: 'component1-'+i+'-mes-'+mesSeleccionado, cls: 'component1-cls', ...
user3161055's user avatar
0 votes
1 answer
92 views

Renaming paths to components in ExtJs4

I have an Ext Js 4.1.1 Application with the following structure and Im trying to switch the namespaces for both folders: public/ ├──app/ │ ├──controller/ │ ├──model/ │ ├──store/ │ └──view/ │ └...
cfag's user avatar
  • 19
0 votes
1 answer
162 views

Problem creating a container Panel in ExtJS

I am new to ExtJS and I want to create a container Panel for my buttons in ExtJS, all i managed to do so far is to try to add a simple button in my class like so : Ext.define('MyClass.view.buttons'...
user1319236's user avatar
0 votes
0 answers
250 views

How to generate multiple files with sencha CMD

Iam using Sencha cmd v4.0 and I want to generate multiple compressed and minified files. For now sencha app build generates single app.js files. But I need 2 files: all-compressed.js (which contains ...
SUJU FE's user avatar
  • 123
0 votes
1 answer
95 views

Extjs4 - Ext.grid.Panel not updated with data inserted into Ext.data.Store using loadData function

I have a listener defined on çhange event for an item filefield in a Panel. Using loadData method, on the Store with id documentGridStore, I am able to insert data into the store (debugger shows store ...
Hermionie's user avatar
0 votes
1 answer
162 views

Extjs 4.2.1 Iframe size issue

I am trying render iframe inside a container, but iframe is not getting stretched to full screen. var htmlInputs = '<input type="hidden" name="amount" value="100.00"&...
Developer's user avatar
0 votes
1 answer
994 views

Reading query parameter in a URL with Ext JS version 4.2.1

I am using Ext JS 4.2.1 version, using model store view controller architecture. I have a scenario where server side will send URL with queryparameters. Example, say https://ascasc/asda/asdas is my ...
Developer's user avatar
-1 votes
1 answer
41 views

ExtJS form creation on fly for page redirect

I am using 4.2.1 extjs version. I have view which is extended from ext.container. which is read only/dispaly. No input is taken in this screen. Now i need to redirect to another page though HTTP POST ...
Developer's user avatar
0 votes
0 answers
79 views

Disable date depend on vacation days on table in mysql

im trying to disable date depend on vacation days using this syntax but instead i get is the date are all disabled function GetHariLibur(){ $tanggal = date('Y'); $sql = ("...
Khalid Ibnu Walid's user avatar
0 votes
1 answer
41 views

graph not rendering data points in extJS 6.5.2

In a line chart the data points surrounded by null points are not rendered. For ex: store: { fields: ['billperiod', 'charges', 'adjustments', 'receipts'], data: [{ ...
Phenomenal 4's user avatar
0 votes
1 answer
1k views

How to check if the response received from server is html or json and find the html form by name in extjs?

I have an extjs application that sends an ajax request to the backend. The backend will send the objects which are json format if it is an active session and a html page if the session is inactive I ...
Kiran Cyrus Ken's user avatar
0 votes
1 answer
226 views

ExtJS 4.2 Tree highlight selected row on cell editing

I have a tree panel with 4 columns: var cellEditing = Ext.create('Ext.grid.plugin.CellEditing',{ pluginId : 'cellEditing', clicksToEdit: 1 }); var tree = new Ext.tree.Panel({ store:...
SensacionRC's user avatar
2 votes
2 answers
562 views

Local gridfilters

in ExtJS 4 i could create a filter to filter my grid. When is set local to false, i could filter my store. var filtersCfg = { ftype: 'filters', autoReload: false, //don't reload automatically ...
Torf's user avatar
  • 41
0 votes
2 answers
42 views

Strange behavior of Ext.Date.add component

I have a problem with Ext.Date.add When I add days: var someDate = new Date(2021, 9, 30); var startDate = Ext.Date.add(someDate, Ext.Date.DAY, 1); var endDate = Ext.Date.add(someDate, Ext.Date....
Stefan Petrov's user avatar
1 vote
1 answer
319 views

Dynamically update the cursor style of the cells in an Ext.grid.ActionColumn

I've got an Ext.grid.ActionColumn in which I would like to dynamically update the cells within the column based on their content. I've figured out how to do this for icons and tooltips. I just want ...
Tim Mitchell's user avatar
1 vote
0 answers
104 views

event beforedrag grid ExtJs 4

I want detecte event before drag in Grid when we use 'ptype: gridviewdragdrop' (Ext.grid.plugin.DragDrop), like dragZone: { onBeforeDrag: function(data, e) { //.... instruction; ...
masnsen's user avatar
  • 11
1 vote
0 answers
366 views

Events not working in minimized window extjs

I have added events beforeclose and beforedestroy for a window which work perfectly fine when the window is in expanded state. But the same are not triggered when window is minimized and I press the ...
user3203030's user avatar
1 vote
2 answers
468 views

Disabling entire column in extjs 4.2.1

I have a simple grid of multiple columns and each column editable fields. When I call column.disable() only the header of the column is getting disabled and the fields in the column are still editable....
user3203030's user avatar
0 votes
2 answers
158 views

Is there a way where i can put my selected entry from the grid panel to a field label using extjs?

I am trying to view the selected entry from the grid panel into the textfield box.The textfield box is in some other file and the code to select the entry are in other file. { xtype: 'textfield',...
Ayushi Garg's user avatar
0 votes
2 answers
523 views

ExtJS populate store from multiple proxy sources

I have a distributed database system and I want my EXTJS app to request data from multiple sources and put it into a single store. Is there a way to define multiple proxy urls for a single store? Is ...
Connor Filipovic's user avatar
3 votes
1 answer
1k views

Disable JavaScript embedded in PDF in browser (XSS attack)

We are trying to load a PDF in an iframe using ExtJs. The PDF is embedded with JavaScript. When it is loaded in the browser, the alert is being displayed and it is considered as JS injection in ...
Krishna's user avatar
  • 611
0 votes
1 answer
1k views

how to change the sorting direction in sortchange of EXT

i am using 4.2 EXT , and i have to use sortchange listener to handle the columns sorting , because i some of the columns showing value by rendering . So i have to handle sorting in sortchange , it ...
Angala Cheng's user avatar

1
2 3 4 5
112