Related Item Values
How would I get the value of multiple related items in the related items control? If we wanted to get every value from cloumn 3 and concatinate them into a single string for instance? The related item contron is set to render in client, quick edit only.
Thank yoiu.
Thank yoiu.
- Dmitry Kozlov
- Site Admin
- Posts: 1524
- Joined: Thu Jun 07, 2012
Hi,
You can retrieve values from the related items control following way:
Where 'Title' is the internal name of the required field.
You can retrieve values from the related items control following way:
Code: Select all
var rows = fd.relatedItems(0).data('ctx').ListData.Row;
for (var i = 0; i < rows.length; i++) {
alert(rows[i].Title);
}
-
- Information
-
Who is online
Users browsing this forum: No registered users and 7 guests