Crystal
Posts: 0
Joined: Mon Nov 25, 2013 8:49 am

How to add mobilelistitem by JS code?

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?

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

How to add mobilelistitem by JS code?

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.

Return to “Issues”