Search Type: Posts; User: abcdef

Page 1 of 5 1 2 3 4

Search: Search took 0.04 seconds.

  1. Replies
    0
    Views
    47
    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...
  2. Replies
    0
    Views
    55
    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');
  3. Nevermind – doing scrollToEnd(false) gets rid of the animation, and that effectively does what I want.
  4. 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!
  5. Okay thanks!
  6. 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...
  7. Replies
    2
    Views
    144
    Any thoughts on this? I'd really appreciate help with this! Thanks!
  8. 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...
  9. Replies
    2
    Views
    144
    I also tried store.sync() – same story. Also, this is an associated model's store.

    Any help is much appreciated! Thanks!
  10. Replies
    0
    Views
    78
    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) { ...
  11. 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...
  12. Replies
    2
    Views
    109
    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...
  13. Did you figure out an appropriate place to do this? Thanks!
  14. 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!
  15. Replies
    2
    Views
    144
    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...
  16. Replies
    2
    Views
    109
    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...
  17. Replies
    8
    Views
    331
    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...
  18. Replies
    8
    Views
    331
    The code is really simple. My list config looks something like:



    itemId: '...',
    cls: '...',
    infinite: true,
    onItemDisclosure: true,
    scrollToTopOnRefresh: true,
    itemTpl: '<image...
  19. Replies
    8
    Views
    331
    Well the image_url is actually different, and the new url is set correctly in DOM. Thoughts?
  20. Replies
    8
    Views
    331
    I have a list that uses itemtpl config that has a url to an image that is a converted field on the model. When the record changes due to a change in the URL, often times (not always but very...
  21. Replies
    6
    Views
    220
    Spot on! I added a show and hide, and it worked perfectly. It is sort of annoying though – the layout requirement is basic enough that it should have warranted a simple, logical out-of-the-box...
  22. Replies
    6
    Views
    220
    That almost worked. Now I can see the form panel and the list except the list doesn't follow the form panel but gets superimposed on the form panel. Thoughts?
  23. Replies
    6
    Views
    220
    Hmm..this doesn't look like its working. The form panel is rendered with 0 height. When in inspector, I give it 100%, it fills up the entire space. Thoughts? I can't use a data view because I do need...
  24. Okay so the event painted fires on show() and not just when added to the viewport for the first time. What seems to be working for me now is:

    1. on after store.load(), I call show()
    2. painted...
  25. Awesome. Let me try that. Thanks a lot for your prompt responses!
Results 1 to 25 of 119
Page 1 of 5 1 2 3 4