Richard Kruk
Hi
I am struggling with this issue (see attached screenshot):
If I select a value in my dropdown, the onChange is triggered and I handle it in my code. What I need is to know which record is changed (1st, 3rd or nth), because for that row I need the name value to fill in the date.
All I get in my function is the value of the dropdown I selected
Code of the function:
this.testMe = function(control, item) {
console.log(item);
}
This is offcourse a simplified version of what I need in real life, but it comes down to: How do I get the entire row data in my function once the OnChange is triggered of the dropdown?
SPARK Support
Hi Richard,
The On Row Selected By User event provided access to the entire row data.
Through the individual control, you do have access to the other controls in the same row:
me.ui.getSibling(“Text1”).getData();
If you need to manipulate the contents of the row based on the Single Select, use this method to access the data of each control in the row.
Regards,
Stephen P.