Search Type: Posts; User: pscanlon1

Page 1 of 4 1 2 3 4

Search: Search took 0.03 seconds.

  1. https://fiddle.sencha.com/#fiddle/dok


    The first time you do load, you get an error in the onViewRefresh() method. Second time everything is great.
  2. Replies
    5
    Views
    151
    ok, so, how would I do this in a controller? Im really not looking to have a hidden textfield just to propogate a bind up to a parent viewmodel like what is happening. I want the button to propogate...
  3. Replies
    5
    Views
    151
    When you change the textbox, it has a different behavior than calling viewmodel.set()


    I want to emulate the behavior like when you change the textbox variable. How would I do that without...
  4. Replies
    5
    Views
    151
    https://fiddle.sencha.com/#fiddle/ebh


    This example is showing a parent and nested viewmodel.

    The behavior is different when I change the textbox value, versus when I do getViewModel().set()....
  5. How do I get the roweditor to validate against the model like a form?

    model:

    validators:{
    someField:'presence'
    }

    this isnt enough.
  6. Sorry, if you click on the widget button in the grid, you will see the popup that has record.getData(),

    I wouldnt expect id:null, when I had set the idProperty:'CustomId'
  7. https://fiddle.sencha.com/#fiddle/e0d
  8. Ya, say I update row 1, call store.sync (), the server will do a recalculation, and we were hoping to send back more than one row as they are dependent on one another.

    For example, say there...
  9. https://fiddle.sencha.com/#fiddle/dok


    Just simply click store.load() button at the top.


    messes up here in onViewRefresh()


    cell =...
  10. Am I missing unintended consequences in this override? I didnt think that you could reload a chained store because it is linked to a parent. This seems like reasonable behavior for a chained store to...
  11. Please see fiddle.

    https://fiddle.sencha.com/#fiddle/do0


    Why do i need to call chainedStore.getSource().load(), rather than chainedStore.load()?

    I dont see the logic of why it wouldn't...
  12. Is it possible, because I have a data grid that has the possibility that when I update row1, it could have, and most likely does, have an effect on data in row3.

    I was hoping to do store.sync(),...
  13. We have this problem as well,

    we have

    data:[{
    id:1,
    associatedData:[{associatedId:1,name:'something'}]
    }]
  14. Could you provide a work-a-round? Just ran into this.

    i have 1 store, store.rejectChanges(), then getSession().getChanges() still returns the phantom record that was initially created...

    How do...
  15. im still having the same problem. Did you find a workaround? Im trying to create a child session with the viewmodl and its not making one
  16. This works but it is not what I am trying to achieve. I am trying to make 1 definition of the proxy in the model, or the store, i dont really care.

    I think the code that needs to be modified is...
  17. Why is the proxy different when I set it on the model, versus when I set it on the store?

    https://fiddle.sencha.com/#fiddle/d9s

    Click on the button "View Proxy" to see the difference.

    This...
  18. Obviously there are a few unit tests missing from your base code....
  19. Can you enlighten me on what code should be in the last if block?

    if(entry){}...

    I do something like

    store.remove(rec)

    var batch=session.getSaveBatch()
  20. How do we use this with URL routing? Its not picking up my routes.
  21. This isnt a bug, the only issue is that it is slow in large apps.
  22. When you have components that are

    bind:{
    hidden:'{myHiddenBind}'
    }

    The components are initially visible, and then hide as the binds are run. I have overridden component to...
  23. I can't believe there hasnt been 1 response to this. It is a common usecase for sessions. SENCHA!?!? Hello?
  24. https://fiddle.sencha.com/#fiddle/ccb

    Select USA first, then select a state "Alaska".

    If you then change the country to Canada, you should not be able to have "Alaska" selected in the child...
  25. This is pretty simple, I had an unlocked grid, and now I have a potentially locked grid, so there should be 1 API regardless of if the grid is locked or not to get the VISIBLE columns. This is being...
Results 1 to 25 of 95
Page 1 of 4 1 2 3 4