Search Type: Posts; User: ajchia
Search: Search took 0.02 seconds.
-
13 Nov 2011 11:09 PM
Jump to post Thread: remove record from localstorage by ajchia
- Replies
- 8
- Views
- 2,934
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...
-
13 Nov 2011 7:56 PM
Jump to post Thread: remove record from localstorage by ajchia
- Replies
- 8
- Views
- 2,934
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... -
13 Nov 2011 5:05 PM
Jump to post Thread: remove record from localstorage by ajchia
- Replies
- 8
- Views
- 2,934
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... -
13 Nov 2011 4:08 PM
- Replies
- 2
- Views
- 850
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... -
13 Nov 2011 4:04 PM
Jump to post Thread: remove record from localstorage by ajchia
- Replies
- 8
- Views
- 2,934
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'...
-
13 Nov 2011 3:56 PM
- Replies
- 2
- Views
- 1,041
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)....
-
13 Nov 2011 1:47 PM
- Replies
- 2
- Views
- 817
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...
-
13 Nov 2011 2:01 AM
- Replies
- 2
- Views
- 817
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
