Amirul Momenin
Posts: 0
Joined: Tue Apr 08, 2014 3:42 am

LISTITEM

How may I set multiple value by js in listiem

how to set value with index and text

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

LISTITEM

Hello Amirul,

There are two options:

1) Add index value to the property "Counter" of the listitem
2) Add mapping from the array ($ element) to the listitem and add JS to that mapping: https://devcenter.appery.io/documenta...

E.g.:
var str = value.index + " " + value.title;
$(element).find("h3").text(str);

here index and title - response array's children elements

Return to “Issues”