Search:

Type: Posts; User: silveralecs

Page 1 of 3 1 2 3

Search: Search took 0.04 seconds.

  1. Thank you @evant! Exactly what I was looking for.

    Thank you @evant! Exactly what I was looking for.
  2. Reading and writing nested data from model

    I'm trying to read and write data to my server using JSON.

    Here's how my model looks like:



    Ext.define('App.model.report.Report', {
    extend: 'Ext.data.Model',
    fields: [
    {
  3. @scott: Thank you very much for your in-depth...

    @scott: Thank you very much for your in-depth explanation. From what you say is that they exclude each other.

    Could you please also explain question 1?

    1. Why does viewModel.linkTo('theUser',...
  4. [OPEN] So, you have another issue related to this? 1....

    So, you have another issue related to this?

    1. Is there a workaround for this bug?
    2. Why using an already existing record from the store, makes another read from backend when using...
  5. [OPEN] I have tried to use the Fiddle but it seems a...

    I have tried to use the Fiddle but it seems a little bit complicated to simulate backend requests.

    Instead, I've attached all the necessary files which drives this behaviour.

    Summary: The...
  6. [OPEN] ViewModel's linkTo method doesn't change the reference when called second time

    Calling method "onCreate"(defined in my ViewController) two times will result in field "name" not having a default value.
    And I am guessing that the following happens:

    1. The first time onCreate...
  7. Replies
    3
    Views
    1,623

    @Gary you know how long is going to take until my...

    @Gary you know how long is going to take until my extenstion is approved in Sencha Market?Thanks
  8. Working with models in MVVM pattern: best practices?

    Hi guys,

    I'm having a little bit of trouble how the new MVVM pattern works for forms.

    Back in the days, I used to do:




    var record = grid.getSelectionModel().getSelection()[0]; // get...
  9. This sounds like a bad practice. Instead, you...

    This sounds like a bad practice.

    Instead, you should use Observer pattern (firing and listening for events).

    Check out Listeners and Event Domains. To fire events from your controller use...
  10. Thank you so much. It's perfect

    Thank you so much. It's perfect
  11. @tosc and @yorl1n: Thank you very much for your...

    @tosc and @yorl1n: Thank you very much for your help. It would be nice to have a bindable property.
  12. @evant Thanks for your help. From my point of...

    @evant Thanks for your help. From my point of view seems a little misleading having an idProperty for the model and an idParam for the proxy.
  13. ViewModel's linkTo method doesn't take in consideration the idProperty of the model

    ViewModel's linkTo method doesn't take in consideration the idProperty of the model.

    Here's my model definition:



    Ext.define('App.model.location.Location', {


    /**
  14. anyone?

    anyone?
  15. Replies
    5
    Views
    1,350

    @mitchellsimoens Is there a way to change the...

    @mitchellsimoens Is there a way to change the parent of the window to be the Viewport? Currently If i declare the xtype of a window, inside a container, the window will be centered inside that...
  16. Bind button outside form to form's validity

    Is there a way to bind a button from outside the form panel to it's valid state?
    I would like to have it disabled when the form is invalid.

    I was thinking that I could use something like
    {...
  17. Replies
    5
    Views
    1,350

    I ended up declaring the window with autoShow:...

    I ended up declaring the window with autoShow: false in the view.
    From there I can easely use lookupReference() from the controller and the window will be instantiated only once.
    Don't forget to...
  18. Replies
    2
    Views
    2,754

    Thank you very much evant

    Thank you very much evant
  19. Replies
    2
    Views
    2,754

    Bind button to grid's selection

    I have a grid and a button in it's toolbar. I would like to have it enabled when items are checked in the grid.

    I've tried using:



    {
    xtype : 'button',
    ...
  20. Replies
    5
    Views
    1,350

    I'm asking this because in the past you could use...

    I'm asking this because in the past you could use the `autoCreate` config from `refs`, of the Ext.app.Controller (http://docs.sencha.com/extjs/6.0/6.0.0-classic/#!/api/Ext.app.Controller-cfg-refs).
    ...
  21. Replies
    5
    Views
    1,350

    Working with Ext.window.window in MVVM

    How do you normally initialize windows using the ExtJS's MVVM pattern?

    Thanks
  22. Replies
    3
    Views
    1,623

    Socket.io provider for Ext.Direct

    Hi guys,

    I've worked on a Socket.io provider for ExtJS's Ext.Direct.
    It's very simple and extends the current Remoting Provider.

    You can find it here:...
  23. I ended up using rsync which works great. ...

    I ended up using rsync which works great.

    https://docs.vagrantup.com/v2/synced-folders/rsync.html
  24. Awesome! Thank you very much Joel. Just out of...

    Awesome! Thank you very much Joel.

    Just out of curiosity, where can I find sass files for all the other components?
  25. So you would use something like this? ...

    So you would use something like this?



    Ext.define('App.Controller_2', {
    extend : 'Ext.app.ViewController',
    alias: 'controller.controller2'
    onButtonClick: function(){
    //...
Results 1 to 25 of 67
Page 1 of 3 1 2 3