LISTITEM
Posted: Tue Jan 26, 2016 7:40 am
How may I set multiple value by js in listiem
how to set value with index and text
Catch up wih the Appery.io community on our forum. Here you'll find information on the lastest questions and issues Appery.io developers are discussing.
https://forum.appery.io/
How may I set multiple value by js in listiem
how to set value with index and text
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