Search Type: Posts; User: ajchia

Search: Search took 0.01 seconds.

  1. Replies
    8
    Views
    5,170
    And the update method has the same problem erroneously putting too many ids into the store, adding toString() to .getId() fixed that. I'm beginning to think I shouldn't force 'id' to int on my...
  2. Replies
    8
    Views
    5,170
    And now I fixed the problem with the ids not being clean up.

    There is a use of getID which returns an Int but the list of ids is an array of strings
    //This line doesn't work circa 32196...
  3. Replies
    8
    Views
    5,170
    Thanks for the prompt reply!

    Yup I tried .remove() then .sync() and it complains with undefined has no method 'destroy'.

    I traced the w-comments.js and found that when the batch is set up it...
  4. Ext.Msg.confirm("Confirmation", "Are you sure you want to do that?", function(btn){console.log(btn);});

    Log shows undefined no matter whether answered yes or no...
  5. Replies
    8
    Views
    5,170
    I'm having the same issue, can't for the life of me remove a record properly. Calling record.destroy() leaves the store in a bad way. Calling sync() gives 'cannot call method .destroy() of undefined'...
  6. I've noticed the same issue. For updates, I got around it by calling record.save() then store.sync() store.load() (but not when a list is on screen else you get something like cannot set innerHTML)....
  7. I didn't realize that thanks, I missed the quotes in the post sorry. I dug further and found that its nothing to do with the template. I tried just accessing the date from the record directly and it...
  8. But it does work in Chrome ST2.0 PR2 strangely enough.

    Ext.create('Ext.XTemplate', {startDateTime}) where startDateTime is of type date from a model,
    when rendered in a list shows a date in...
Results 1 to 8 of 8