User1400794712 posted
Hi neoaguil17,
According to your code, arrayFirst will execute a function——
function (item) {
return "ESPE0001" != item.IdEstado;
}
—— for each 'item' in self.Prop_GridControl.Prop_SelectedItems() array. Then return the first item, the function evaluation of which is true.
Then if there is no such an item, return true.
For more details, please refer to
this article.
Best Regards,
Daisy