Search Type: Posts; User: jsakalos

Page 1 of 5 1 2 3 4

Search: Search took 0.28 seconds.

  1. Replies
    2
    Views
    127
    Please make sure that the value you are trying to set on date field is included in altFormats.
  2. The first thing I'd verify would be if the record in question already exists in the parent session. If yes, it should not be requested from the server.
  3. It would be better to open another thread for this second problem. I see login dialog, and error connection to the server. What the problem?
  4. Thanks.

    You SHALL run into problems for sure. But it is what's life all about, isn't it?
  5. It is necessary to provide information on how you configured it so that you got scrollbars. "fiddle" means that the best is to make a showcase at https://fiddle.sencha.com
  6. You can configure if you want POST or GET or you can use Rest proxy that uses PUT for updates and POST for creates. See the docs, there's no need to go down to the raw ajax request unless you do...
  7. Replies
    3
    Views
    205
    foo must be object for prototype chain to work.
  8. You have it mixed up. reference must be set on many side so Item must have an orderId and that must have reference set to order. Then, in JSON you must have member "items" in order record. See also...
  9. Yes, if the record is in a store then store.sync(). If not then model.save().
  10. You have no associations defined between Order and Items. See this article in docs: http://docs.sencha.com/extjs/5.1/core_concepts/data_package.html#Associations
  11. Replies
    3
    Views
    205
    Nothing. You need a little trick. See http://extjs.eu/ext-examples/#vm-hierarchy
  12. First of all, I wouldn't load record to form, I would directly bind form fields to record fields. It's much less work and it is very straightforward. Then, I'd create a formula that calculates...
  13. Replies
    6
    Views
    213
    Well, the example I've posted the link to is all about showing text instead of id in the grid for foreign keys. That solution might not be suitable in your case but for me it works reliably in really...
  14. I see. I didn't check on a non-retina display, now I am curious to see it myself. Thanks for the info.
  15. Replies
    2
    Views
    157
    It is most likely an invalid server response. Check if server returns the expected javascript.
  16. Replies
    6
    Views
    213
    See this example: http://extjs.eu/ext-examples/#combo-in-grid
  17. I do not see any bluriness of FontAwesome icons sized to 16px in Ext 5.1 on MacBook Pro Retina. Can you post steps to reproduce and/or a screenshot?
  18. The reason can be that you do not have css file compiled. Run "sencha app build" and reload the page. Note: The problem has nothing to do with MVVM.
  19. Well, unfortunately, it is NOT correct as you rely on getCmp and that relies on ids. This is a very bad practice. You should use Ext.ComponentQuery to address the components if you have to.
  20. See http://docs.sencha.com/extjs/5.1/5.1.0-apidocs/#!/api/Ext.window.Window-cfg-constrain
  21. Do you get any errors? I would expect that yes, because calling getView() on application probably doesn't return anything. You need to make sure that getView() really returns the view you want to...
  22. Replies
    4
    Views
    261
    If the record is not passed and the documentation says it is, then it is a bug. Make please a showcase at https://fiddle.sencha.com and report it as bug.
  23. Give your store an alias (alias:'store.mystore') and then use type:'mystore' in ViewModel. Should work.
  24. Yeah, that's the reason I would rather used a static class - you don't need to instantiate then and you assign variables simply with My.Constants.hello = "hello world"
  25. There is a main problem here and that is that MVVM model that you want to use as a source of data is tightly related to its view and lives only until the view lives. Although you could theoretically...
Results 1 to 25 of 102
Page 1 of 5 1 2 3 4