Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

Child ListGrid

$
0
0
Using SmartClient 10.0 js doing and my own backend.

Working with two RestDataSource that are connected Parent-Child.

Open up a record and using a DynamicForm for Parents Information
Using contactFormTelecom.fetchRelatedData(record,Contact) to populate the Child ListGrid as there are many child records that can be connected to parent.


When I entered a new record on the child ListGrid it is not connected to the Parent, or in other words it does not send the Parents Id when adding a new record.
I need the Parents Id in order to connect a new child record to the parent on the save.


Is there a different way to connect up the grid than using fetchRelatedData?
Is there a way to specify on a ListGrid that New records have a specific Field set by default.


The dream is to have the option on a ListGrid to set it as a child by specifying a parent record.
That way all fetch or add commands will by default send the parents records key.

Viewing all articles
Browse latest Browse all 4756

Trending Articles