Page 1 of 1

LISTITEM

Posted: Tue Jan 26, 2016 7:40 am
by Amirul Momenin

How may I set multiple value by js in listiem

how to set value with index and text


LISTITEM

Posted: Tue Jan 26, 2016 7:49 pm
by Serhii Kulibaba

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