Hi i got a Problem with adding new Items to a Sencha Nested List Component.
currently my code looks like this:
var newItem = nestedList.add({text:rowData.name});
nestedList.doLayout();
The Problem is the Items just wont show up no matter how often on on what i do call doLayout. When in debug the nestedList Object, the items are correctly placed in the items array.
Greetings Nexum
尝试调用nestedlist.update()那就是我在普通列表上进行布局之前所调用的
nestedList.down("list").add({});
nestedList.down("list").refresh();
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.