Calls the function or method specified by the function parameter, once for each of the rows selected.