Search Type: Posts; User: abcdef

Page 1 of 5 1 2 3 4

Search: Search took 0.04 seconds.

  1. Replies
    2
    Views
    230
    This worked. Thanks!
  2. Hmm..I set the breakpoint and found that mergeData never gets hit. Thoughts?
  3. That is definitely not happening. From the source for Model.load():



    load: function(id, config, scope) {
    var proxy = this.getProxy(),
    idProperty =...
  4. How do I notify all stores associated with a model after calling MyApp.MyModel.load()? Alternatively, is there a way to load 1 record by Id from the context of a store?

    My ultimate goal is to...
  5. That doesn't work. I tried it on the parent container's layout. Here is my config:



    Ext.define('MyApp.view.plugandplay.MyContainer', {
    extend: 'MyApp.view.core.Container',
    xtype:...
  6. I have a list that is sorted such that the most recent items appear at the bottom just like a chat window, in which the most recent message typically shows up at the bottom.

    This list is inside a...
  7. I have an infinite list with a fairly simple itemTpl and about 40 very simple records in it (the text actually rendered is on an average 2 words/list item)

    What I see is that when I scroll...
  8. Replies
    2
    Views
    230
    I have a model "Order" that "hasMany" "Item"s

    I get a push notification from my server that a new Item has been added to the Order. I also get the new Item's id. Now, I'd like to fetch that Item...
  9. Replies
    0
    Views
    151
    I have a list that is hidden unless I need to show it. On show, I am doing the following:



    onShow: function() {
    var me = this;

    me.removeCls('show-using-css-opacity');
  10. Nevermind – doing scrollToEnd(false) gets rid of the animation, and that effectively does what I want.
  11. What I meant was the store is already receiving records that are sorted, so I was wondering if there was a way to just append the records upside down, but scratch that – I think thats fine. Thanks!
  12. Okay thanks!
  13. I have a list that is basically like a chat list – the most recent items are at the bottom. So, I need to open the list and then scroll to bottom. Is there a way to have the list show only after the...
  14. Replies
    2
    Views
    182
    Any thoughts on this? I'd really appreciate help with this! Thanks!
  15. My backend is Parse's BAAS. In order to fetch latest records first and paginate through previous records, I'll need to order descending by created timestamp, and use "skip" certain number of records...
  16. Replies
    2
    Views
    182
    I also tried store.sync() – same story. Also, this is an associated model's store.

    Any help is much appreciated! Thanks!
  17. Replies
    0
    Views
    104
    I have an image tag in itemtpl of a list. I have added an onload handler to the image like so:


    onload="nativeImageLoaded(this)"

    and


    function nativeImageLoaded(img) { ...
  18. Is there an event that gets fired on the list every time a record is added to its store? I see the list updating with new data but the refresh event doesn't fire. Is there an event on the list that...
  19. Replies
    2
    Views
    159
    Thanks! Yeah, I have this in place. I was looking for a chat-like scrolling interface. This did the trick:



    scrollToBottom: function() {
    var me = this;

    var...
  20. Did you figure out an appropriate place to do this? Thanks!
  21. I couldn't find this in the docs. How does this need to be handled, so that when the list refreshes, the convert field does a fresh fetch? Thanks!
  22. Replies
    2
    Views
    182
    I have a list that is bound to a store. I have a input text field (think chat like UX), and when the user clicks on a button, I do:



    var newMessageData = {
    text: textMessage
    };
    var message...
  23. Replies
    2
    Views
    159
    What is the best way to implement a list that is up side down? Like the chat interface. I'd like to push a record into the list and want it to appear at the bottom with the rest of the list pushed...
  24. Replies
    8
    Views
    448
    userlocationpageid is the list? That image url – is that a converted field? The actual url for me is inside an object that is a field of the record in question, and the url field is a converted field...
  25. Replies
    8
    Views
    448
    The code is really simple. My list config looks something like:



    itemId: '...',
    cls: '...',
    infinite: true,
    onItemDisclosure: true,
    scrollToTopOnRefresh: true,
    itemTpl: '<image...
Results 1 to 25 of 119
Page 1 of 5 1 2 3 4