Backend\Core\Engine\DataGrid::enableGreyingOut PHP Method

enableGreyingOut() public method

If so, it will call the BackendDatagridFunction with the type and value so we can parse the data.
public enableGreyingOut ( )
    public function enableGreyingOut()
    {
        $allowedColumns = array('hidden', 'visible', 'active', 'published');
        $allColumns = $this->getColumns();
        foreach ($allowedColumns as $column) {
            // we have a match, set the row function
            if (array_search($column, $allColumns) !== false) {
                $this->setColumnHidden($column);
                $this->setRowFunction(array(new DataGridFunctions(), 'greyOut'), array($column, '[' . $column . ']'), array($column));
            }
        }
    }