Questions tagged [extjs6-modern]

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.

150 questions
0
votes
1 answer

how to use formulas Extjs 6.2.1

I'm trying to bind a label of a textfield basing on a condition. So looks like i should use 'formulas'. I'm trying a simple example but binding does not work. I'm using Extjs 6.2.1 modern toolkit Ext.define('Class', { extend: 'Ext.Container', …
0
votes
1 answer

Change xclass view extjs 6.2.1 modern

I have a tab panel like this Ext.application({ name : 'Fiddle', launch : function() { Ext.create('Ext.TabPanel', { items: [ { title: 'First Tab', id: 'firstTab' xclass: 'viewClass' …
0
votes
2 answers

ExtJs. How to add items to a grid column header? (with modern theme)

I would to add some items to grid column header. It works with classic theme (using Ext.grid.Panel) https://fiddle.sencha.com/#view/editor&fiddle/2s7u but it does not work with modern theme (using…
Yuri Smirnoff
  • 469
  • 1
  • 5
  • 10
0
votes
1 answer

What to do if the clearicontap is executed after the change event in Extjs6?

Whether you click the clear icon in a field the change event is executed before the clearicontap event. This prevent the expected behavior. According to this 2015 Sencha forum they detected the issue in order to find a solution but it is not…
Es Noguera
  • 426
  • 1
  • 5
  • 19
0
votes
1 answer

ExtJS 6.7 Modern - Define unchecked value for a checkbox

Is there is an easy way to define unchecked value for a checkbox in ExtJS 6.7 modern toolkit? Like Ext.form.field.Checkbox.uncheckedValue in classic toolkit. At the first glance I should override Ext.form.field.Checkbox or use…
Sergey Novikov
  • 4,096
  • 7
  • 33
  • 59
0
votes
1 answer

Readonly page with router redirect

I have two button which redirect to the same page. One button should redirect to the page in readonly mode, the other button should redirect to the editable page. I use the router to redirect and I think I should manage the readonly in the router…
0
votes
1 answer

Don't hide selectfield picker after click on mask [Modern 6.6]

As you can see in the fiddle below, I have a selectfield with an edgepicker and I wish they could not be closed other than with its own button. But it closes when you click outside yourself, on the background mask for example. I tried the property…
Enzo B.
  • 2,341
  • 1
  • 11
  • 33
0
votes
1 answer

ExtJS 6.7 Modern - Prevent auto completion on a field / inputAttrTpl

To prevent auto completion on a field with classic toolkit I could use Ext.form.field.Base.inputAttrTpl like this: inputAttrTpl: 'autocomplete="new-password"'. How I can achieve this with modern toolkit?
Sergey Novikov
  • 4,096
  • 7
  • 33
  • 59
0
votes
2 answers

extjs. How to change dataformat for Ext.field.DatePicker

my post requires is fallen, cause DB need yyyy-mm-dd format. But datepickerfield has mm-dd-yyyy. format config doesn't work: ..,{ xtype: 'datepickerfield', destroyPickerOnHide: true, format: 'Y-m-d', value: new…
Tyomik_mnemonic
  • 786
  • 3
  • 9
  • 31
0
votes
0 answers

ExtJS 6 use TPL into modern edge picker

I've been trying for a few days to fill the selectfield's edge picker selector with an XTemplate like this one:
BONJOUR
{sNotificationTypeTitle}
After many searches in the code database (picker.js, slot.js...), I found how to apply a…
Enzo B.
  • 2,341
  • 1
  • 11
  • 33
0
votes
0 answers

How do you get a border around the controlbox in ExtJS Modern?

So I've worked with ExtJS classic at work, but for a personal project I'm using the Ext6.6 Community Edition. In classic there's automatically a border around the controlbox (the part of the field where you actually type a value). There's also a…
0
votes
0 answers

Why elemen didn't create when it is drugguble EXTJS

I! buttons from my toolbar have to create panel. And I have some problems, and questions. 1) when created panel is set druggable: true, panel didn't rents after click. And Chrome console throwns it: o such config "translationMethod" for class…
Tyomik_mnemonic
  • 786
  • 3
  • 9
  • 31
0
votes
1 answer

ExtJs ViewModel: passing variable instead string

I've got an ExtJs ViewModel where I try to use fomulas. The following code is working as expected: viewModel: { formulas: { isPressed: function (get) { return get('state.attribute'); } } } The debugger pauses two…
Mark
  • 103
  • 1
  • 11
0
votes
1 answer

How to handle click on icon inside itemTpl in DataView ExtJs

I am trying to handle a click on icon inside itemTpl, but getting this error: Uncaught TypeError: e.getTarget is not a function`. This is the code of my DataView: Ext.define('Admin.view.phone.managers.ManagerCard', { extend:…
Andriy Yushko
  • 395
  • 5
  • 21
0
votes
0 answers

ExtJs 6.2 Unable to preventDefault inside passive event listener

I got this error inside ExtJS Modern toolkit and I am not able to fix the issue. the error says: Unable to preventDefault inside passive event listener due to target being treated as passive. See…
Waqar Haider
  • 929
  • 10
  • 33