unable to select parent row in context of a drawer for mass action on a table I have a list of strings, where some of them are children of some other rows in the list (lookup relationship). I wanted to show them in hierarchy along with checkbox on each item, where parents as table rows and children as drawer in each row, then added mass action on the table, which solved the purpose. However, if no parent is selected and only the child is selected, the save button does not come and in that scenario I want to auto-select or check the corresponding parent, which I am not being able to do.
The JS code loks like -
var selectedList1 = skuid.$(‘#assignReasonTable’).data(‘object’).list.getSelectedItems();
debugger;
var selectedList3= ;
var descriptionList = ;
var selectedList2= skuid.$(‘#assignReasonTable’).data(‘object’).list.getSelectedItems();//[0].childComponents[0].list.getSelectedItems()
selectedList2.forEach(function(entry){
selectedList3.push(entry.drawers[0].childComponents[0].list.getSelectedItems());
});
selectedList1.forEach(function(item){
descriptionL