Search Type: Posts; User: Artur Bodera (Joust)

Page 1 of 5 1 2 3 4

Search: Search took 0.02 seconds.

  1. Interesting... it seems to work for me (with override). Let's wait for Sencha guys to come to work so they can take a look.
  2. Workaround: https://gist.github.com/Thinkscape/390378f2329b5328a36a
  3. Another day, another Ext bug :-(

    Tell me if you've already got this one filed or fixed, before I spend time on writing a fiddle.
    Have a Tab panel (or any panel that hides and shows children)
    ...
  4. Just had the same issue. Basically html, body { overflow: hidden; } will break build (Ext 5.0.1).
  5. In Ext 5.0+ (probably also 4.0) the method is now called refreshNode().
  6. The following View Model formula works perfectly fine:



    formulas: {
    recordDirty: {
    bind: {
    bindTo: '{someRecord}',
    deep : true
    },
  7. Here's a workaround for 5.0.1 users: https://gist.github.com/Thinkscape/641f4a7a16e3baebd78a
  8. Have a model with "length" field.
    Load remote data for a single entity (i.e. via YourModel.load(id))
    Have your server return just the entity as an object, i.e: { "id" : 1, "name": "Nile",...
  9. It doesn't in 5.0.1.

    Also - it changes how date is sent to the server, but in turn breaks locale-based date formatting (the way you see dates in the filter picker).

    How would you configure the...
  10. dateFormat only gets propagated to the underlying date picker (i.e. what people see in the menu), and again - has nothing to do with how the date is formatted when it gets to a store filter.



    ...
  11. Ext.Date.defaultFormat has nothing to do with dateWriteFormat - the former is the display format for fields and such, the latter is how the data is transmitted to the server. My override allows you...
  12. Well, basically Ext.grid.filters.filter.Date.prototype.convertValue() has a hardcoded routine to format the value into a timestamp.

    I've created an override to add support for dateWriteFormat - it...
  13. Well, you've changed the order of lines so effectively manipulated the output, but that does not affect the call tree (order of method calls).

    What's more important is how they are called. So the...
  14. Let's disect it one more time:


    So the callParent chain, before adding a mixin, is as follows:
    Foo.bar.Base - the super class
    Foo.bar.Derived - the base
    So the execution would come from top...
  15. From docs:
    http://docs.sencha.com/extjs/5.0/apidocs/#!/api/Ext.Mixin






    Ext.define('Foo.bar.Util', {
    extend: 'Ext.Mixin',
  16. Same here.
  17. Actually, my case is even more complex because I wanted to have a separate sub-session for the form... Basically you can select a record in the store grid, selection is bound to sub-session (and...
  18. Cool Saki :-)

    I've actually worked around it in a similar way, basically attaching to the bound record and checking dirty - when it changes I poke the VM with viewModel.set('isDirty',...
  19. Not really. Release notes don't mention that bug :-(
  20. Demo: https://fiddle.sencha.com/#fiddle/a5p

    Have a grid in a border layout region.
    In that grid, have a widget column.
    Bind a store to the grid with X number of rows.
    Re-bind another store...
  21. Ext 5.0.1 GPL
    CMD 5.0.1.231
    Have an app with moderate number of panels (i.e. a few grids, tab panels, full-screen border layout etc.)
    Test the app in devel mode sencha app watch - open...
  22. The base won't work well if you want different paths, like me. For example I'd put production in "public/app", and development in "app/build/development".

    I just hope they sort it out.

    Sencha...
  23. It fails miserably with GPL version.



    sencha -sdk ~/Downloads/ext-5.0.1 generate app -ext MyApp . ⏎ ✭ ✚ ✖ ✱ ➜ ◼
    Sencha Cmd v5.0.2.250
    [ERR] Unable to locate...
  24. The core of the problem is that json files have no higher priority over .properties and .cfg.
    I've just wasted 1.5h trying to debug it.

    Solution (for cmd 5.0.1):

    Go to...
  25. Oh, so that is assuming the backend sends something like:


    [{
    id: 1
    name: "John Doe",
    groupId: 5,
    group: {
    id: 5,
    name: "Cool users"
Results 1 to 25 of 119
Page 1 of 5 1 2 3 4