Prodataset parent - child

Posted by Elsworth Burmeister on 07-Jun-2017 09:10

Hi 

I might be repeating on an old post.. but can anyone advise if we can send back a dataset consisting of a parent-child relationship from a business entity from the appserver side to the client side of a mobile application? If so can someone provide an example of how to loop through parent child records on the client side?

Openedge 11.3

Telerik platform.

TIA

All Replies

Posted by maura on 07-Jun-2017 10:08

Hi,

Yes, you can send a dataset with parent-child relationship to client.

Here is sample  app on Telerik platform for you to look at:

[View:https://github.com/CloudDataObject/sample-Hierarchical_PDS_Template:550:50]

Also, you can check out following example:

http://oemobiledemo.progress.com/jsdo/example023.html

Maura

Posted by Anil Kumar on 07-Jun-2017 12:42

Hi Gryphon,
 
In addition sample shared by Maura, please find other samples in following location(s).
 
HTML client with JSDO
 
Mobile App sample built using Telerik Platform:
 
Web App built using Kendo UI Builder:
                Working Example:            oemobiledemo.progress.com/.../
  Sources:                               github.com/.../hierarchical-grid
 
Note: When working with Parent child related data, two flags namely readLocal and autoSave play a major role in JSDO. Please find the white paper on usage of these two properties in following location.
 
 
Hope this helps.
 
Thanks and Regards,
Anil Kumar.
 

Posted by Elsworth Burmeister on 08-Jun-2017 01:32

Thanks.

But can someone give me an example of getting the child table on the jsdo and putting that table in a dataset in javascript?

TIA..

This thread is closed