Calls func for each row in the model.
func
Use ListModel instead
a Model
a ModelForeachFunc
user data to pass to func