Update: the correct way to detect updates should focus on "redundant" state, ie:
initProductionBuild() {
const self = this;
if (navigator.serviceWorker &&
...
Type: Posts; User: mcelotti
Update: the correct way to detect updates should focus on "redundant" state, ie:
initProductionBuild() {
const self = this;
if (navigator.serviceWorker &&
...
Hi,
the "refresh" method in http://docs.sencha.com/extjs/6.5.1/modern/src/Binding.js.html is empty:
56816
It looks like there are two solutions:
1) force sw-precache to be network-first (losing the benefits of a fast app load)
2) find a way to notify user that a new application version is available,...
Hi,
I'm using ExtJS 6.5.1 modern with PWA configuration (https://www.sencha.com/blog/creating-progressive-web-applications-using-sencha-ext-js/) only for static resources, no caching fo ajax...
Hi Chris,
I still can't believe nobody has fixed this, anyway this is my workaround:
https://fiddle.sencha.com/#view/editor&fiddle/1t1e
I've been using this since apr-2016, it's far from perfect...
Hi, I'm using bind, in my detail view, to match record fields with ui components.
If I take a look at the record data (inside the list's store) it's ok, I can see the updated value (once changed...
Hi, I have a grid with a column like this:
columns: [{
text: "My column",
tpl: '{[values.subel.subprop]}', ...
If I change the value of "subprop" (ie if I change the data of...
Yes, I'm having the same problem and managed to fix it in constructor ( this.associations = this.superclass.associations; )
Hi Richard, yes you're right, the message is not related to the problem I was having.
I created a new app + theme from scratch (with extjs 6.2) and I found that the issue with the theme is the...
Thank you Tristan, your solution works great!
I tried to create a brand new project with ext 6.2.0 and the result is the same:
$ sencha -sdk ~/Tools/ext-6.2.0/ generate app --modern MyApp ./myapp
Sencha Cmd v6.2.0.103
[INF] Workspace...
Thank you Alperse, here's my updated list of rules for firefox 49:
.x-firefox .x-stretched.x-container > .x-inner,
.x-firefox .x-layout-box,
.x-firefox .x-button,
.x-firefox...
Found the solution here:
https://www.sencha.com/forum/showthread.php?329367-ExtJ-6-modern-toolkit-does-not-work-with-Firefox-49-0-1
With Firefox 49 the title is not visible:
55296
Hi, I'm having the same issue after updating application and workspace from Ext JS 6.0.2.437 / Cmd 6.1.2.15.
"Exiting with code 0".
Before upgrade everything was working fine, and upgrade process...
Well, calculating the height of each row looks like a weak solution since it depends on cell dimension and cell dimension depends on display size.
Right now I'm using "infinite: false" in grid...
Hey Gary, did you see the problem? Is there a workaround to get full cell content and variable rows height?
Hi Gary, no I would like to show all the text without ellipsis and to do so I've overridden the "x-grid-cell-inner" CSS rule from "white-space: nowrap;" to "white-space: normal;".
I was able to do...
Hi,
I have a grid with several columns/rows and some cells contain variable text (from 0 to 100 characters).
If I set the property "itemHeight" rows have all the same height but long text is cut...
Wow, this is amazing! I hope typescript will become part of the official dev tools
I've created a calendar component (extending grid), each cell contains several buttons and some labels.
Everytime I switch between views that contain a calendar it takes a lot of time to render and...
Hi,
is there any alternative for the "Ext.suspendLayouts()" in modern toolkit?
I was interested in optimizing my project as suggested here:...
Thank you, setModelValidators works as expected.
Additional note: after setModelValidators I always call model.getValidation(true) in order to refresh validation instance (details here).
Marco
Hi,
I'm using the bind property on a selectfield and when the user selects a value the model is not updated correctly.
Here's the fiddle: https://fiddle.sencha.com/#fiddle/17ut
To reproduce...
A bit late but here's a possible solution: link
Thanks,
Marco