src/DataTable.php
protected function formatOption($name, $value, $label)
    {
        return '<option value="'.$value.'"'
                    .(isset($this->filters[$name]) && strpos($this->filters[$name], $value) === 0 ? ' selected' : '')
                .'>'.(isset($label) ? $label : $value).'</option>';
    }
protected function formatOption($name, $value, $label)
    {
        return '<option value="'.$value.'"'
                    .(isset($this->filters[$name]) && strpos($this->filters[$name], $value) === 0 ? ' selected' : '')
                .'>'.(isset($label) ? $label : $value).'</option>';
    }
protected function formatOption ( $ name , $ value , $ label ) { return '<option value="' . $ value . '"' . ( isset ( $ this -> filters [ $ name ] ) && strpos ( $ this -> filters [ $ name ] , $ value ) === 0 ? ' selected' : '' ) . '>' . ( isset ( $ label ) ? $ label : $ value ) . '</option>' ; }
Render option for select

@param string $name
@param string $value
@param string $label

@return string
Render option for select