public function setSortable($sortable = true)
	{
		if ($this->getItemsDetail()) {
			throw new DataGridException('You can not use both sortable datagrid and items detail.');
		}

		$this->sortable = (bool) $sortable;

		return $this;
	}
public function setSortable($sortable = true)
	{
		if ($this->getItemsDetail()) {
			throw new DataGridException('You can not use both sortable datagrid and items detail.');
		}

		$this->sortable = (bool) $sortable;

		return $this;
	}
public function setSortable ( $ sortable = true ) { if ( $ this -> getItemsDetail ( ) ) { throw new DataGridException ( 'You can not use both sortable datagrid and items detail.' ) ; } $ this -> sortable = ( bool ) $ sortable ; return $ this ; }
Set grido to be sortable
@param bool $sortable
@return static
Set grido to be sortable