Results 1 to 3 of 3
  1.    #1  
    please help to make dynamic list.

    Now I make the following:
    Code:
    var myData=JSON.parse(xmlhttp.responseText,parser);
    messages = messages.concat(myData);
    list.mojo.setLength(0);
    list.mojo.noticeUpdatedItems(0,messages);
    It works only 1 time. On second time there are blank items appears in the list. I'm pretty sure the messages value does not contain any blank items.
    Why they appears?
    Also I have tried other variant:
    Code:
    var myData=JSON.parse(xmlhttp.responseText,parser);
    var l=list.mojo.getLength();
    list.mojo.noticeAddedItems(l,myData);
    list.mojo.revealItem(l, true);
    The same blank items.
    How to add items to list right?
    Is it possible to use JSON for items? I tried to use Array, but unsuccessful.
    Phone: HP Veer
    Jabber: shura0@ya.ru
  2. #2  
    Try settings renderLimit for the list to a few hundred/thousand (depending on how many items you need on average). Usually fixes blank lines appearing for me.
  3.    #3  
    Thank you, it works!
    Phone: HP Veer
    Jabber: shura0@ya.ru

Tags for this Thread

Posting Permissions