Page 3 of 3

Each row of mapped data creates new grid

Posted: Tue Jul 02, 2013 9:34 am
by Maryna Brodina

Hi, it depends on data structure and table structure, but the common algorithm is the following:
on service success you'll get all data to "data" variable, going through all data in this variable in the loop you can select necessary data, form them the way you need (depending on requirements and table structure). More information here http://api.jquery.com/category/manipu...
For example:
codeAppery("mobilegridName")&#46;append("<tr><td>&#46;&#46;&#46;&#46;&#46;<&#47;td><td>&#46;&#46;&#46;&#46;&#46;<&#47;td><td>&#46;&#46;&#46;&#46;&#46;<&#47;td><&#47;tr>");/code