Page 1 of 1

How to add mobilelistitem by JS code?

Posted: Thu Dec 19, 2013 7:00 am
by Crystal

Hello,
Because the mobilelistitem is automatically increase with the condition.I don't want to use the method like this tutorial http://docs.appery.io/tutorials/build... the informations I would like to receive are from two tables or even more table. Image
For example,firstly I only known the ID of the school. Then I will accord to the school 's ID to find the class ID, and then find all the students in the class according to the class ID, and then find the rankings based on the ID of student.
So, how to do this?


How to add mobilelistitem by JS code?

Posted: Thu Dec 19, 2013 10:19 am
by Maryna Brodina

Hello! You can use links to the objects in DB and make including in one request (see http://docs.appery.io/documentation/b... - Including related objects section)
2) You can do a few requests saving temporary results into localStorage and use this data to fill in elements on page
3) You can use server code http://docs.appery.io/documentation/b... and form data the way you need.