(view)
boolean o2view_selector(string $view_name)
Returns row selection in a "view-selector" structure.
This function is intended to be used in the expression of a view calculated (formula) field.
This way calculated field turns into a "view-selector" and can be used as field for a checkbox control in a grid.
View-selector checkbox works as a view-selector, regardless of grid is enabled or not.