The modern toolkit provides universal HTML5 application support for all modern browsers (IE10+) from desktop to phone. The modern toolkit is ideal for developers seeking a cross-browser, cross-device experience for their users.
Questions tagged [extjs6-modern]
150 questions
2
votes
1 answer
Headers not set using Ext.Ajax.request form upload
I want to upload a file using Ext.Ajax.request. Therefore I add the id of the file-input-field (form: formId). I also want to add some headers (Accept, Authorization, ...) to the request, which works when I don't add the form parameter. However when…

Peter
- 1,679
- 2
- 31
- 60
2
votes
2 answers
How to create a border layout in ExtJS 6
I am struggling using border layout in modern profile, but it only works in classic profile, anyone can give me some hint or example. Thank you very much.

Allen Song
- 21
- 3
2
votes
1 answer
Creating and theming ExtJS 6 component
I`m trying to create a custom component for my ExtJS application (using extjs 6.0 and modern toolkit)
I`ve generated a new app and added a new View (extending Ext.Component), put some logic there. I am able to create this component with xtype but…

Andrew B
- 643
- 1
- 5
- 12
1
vote
0 answers
Changing refresh button handler of Extjs GridPanel top-bar paging tool
I am trying to change the Refresh button handler of the Extjs GridPanel top-bar paging tool.
PREFACE:
I have created two stores for a single grid panel. One remote store fetches records from the DB and then after that loads the data onto the other…

Ashutosh Sharma
- 11
- 1
1
vote
1 answer
Extjs 6.5 - finding an association type (hasOne, hasMany, belongsTo, etc)
I upgraded my application from Sencha Touch 2.4 to ExtJs 6.5.3.
On Sencha Touch 2.4, there is a function for the Association (Ext.data.association.Association) by the name of getType() that returns the association-type as a string, for example:…

Aviv
- 193
- 2
- 11
1
vote
1 answer
How can we get selectOnFocus: true functionality in Ext JS 6.6 Modern toolkit?
Ext JS 6.6
Classic toolkit, a textfield has selectOnFocus: true/false so the data in the text field is all selected when the component obtains focus
items: [{
xtype: 'textfield',
selectOnFocus: true
}]
Modern toolkit does not have this…

aallord
- 357
- 1
- 12
1
vote
1 answer
Modern 7.0 ComboBox fires 'select' event on every value change
The combobox in modern fires the "select" event every time the input changes. This is very different from classic. With it doing this there is no way to differentiate between a user making a selection and pragmatically setting the value of the…

nathan
- 13
- 2
1
vote
1 answer
Change textfield to textareafield
I need to change xtype from textfield to textareafield basing on a condition.
I need to do something like this, but I cant update xtype
Ext.define('app',{
launch: function(){
var i = 1;
if (i == 1) {
…

Cristina Moretti
- 77
- 8
1
vote
1 answer
Change view and remove element by Ext.Component.query
I have a TabPanel like this:
Ext.application({
name : 'Fiddle',
launch : function() {
Ext.create('Ext.TabPanel', {
items: [
{
title: "",
reference: 'tabpanel',
itemId: 'tab1',
items: [{
itemId:…

Cristina Moretti
- 77
- 8
1
vote
2 answers
Uncheck radiofield
I need to click on a radiofield and check it, click another time on the same radiofield and uncheck it.
My code doesen't work because the getChecked() is always true!
This is my function, triggered on click event.
My extjs version is…

Cristina Moretti
- 77
- 8
1
vote
1 answer
Dialog position changes on orientation change in Ext JS
I want to display Ext.Dialog in the center of screen which i achieved by using showBy method as below.
dialog.showBy(view.lookupReference('btn'), 'c-c');
It works fine. But when i change the orientation in android device dialog's position gets…

Jaydeep
- 1,686
- 1
- 16
- 29
1
vote
1 answer
Can't getValues from form inside tabpanel
I havn't idea how to getValues from fields of form. Form is one from items inside tabpanel. Cause console throw this:
"Uncaught TypeError: charform.getValues is not a function"
I didn't face a problem when I get values from form using that:
var…

Tyomik_mnemonic
- 786
- 3
- 9
- 31
1
vote
1 answer
How to display data from store in Ext.Component ExtJS
I have store which return data from server:
Ext.define('Admin.store.dashboard.NPS', {
extend: 'Ext.data.Store',
alias: 'store.nps',
autoLoad : false,
proxy : {
type: 'api',
url : SITE_URL + '/api/surveys/nps'
},
fields : [
{
…

Andriy Yushko
- 395
- 5
- 21
1
vote
2 answers
How to getValues from grid and POST them. EXTJS
I'm interested by getValues from my grid and post them, using button confirm on my grid's custom edit form.
But I haven't idea about how I can getValues(). I can't use this or it cause values are accomplished inside 'fieldset' xtype.
How I can get…

Tyomik_mnemonic
- 786
- 3
- 9
- 31
1
vote
1 answer
Method for renderTo EXTJS on mainView
I trying renderTo a panel(Ext.panel with title:'titlet' in the end of code) to the mainView ('Foresto.view.main.Main') or to a part of courusel (id:'mapId') But i havn't got a positive result.
So my quistions:
1) How to render panel to the…

Tyomik_mnemonic
- 786
- 3
- 9
- 31