Hi Guys.
I have a table with check boxes for selection.
When i click Select All button, it selects all results not filtered results (search: 'applied'). Any idea how i modify this code to only find myCheckboxes in the filtered range?
===============================================
addSelected: function(component, event, helper) {
var tempIDs = [];
var getAllId = component.find("myCheckboxes");
for (var i = 0; i < getAllId.length; i++) {
if (getAllId[i].get("v.value") == true) {
tempIDs.push(getAllId[i].get("v.text"));
}
}
helper.addSelectedHelper(component, event, tempIDs);
}