Ajax/semantic/widgets/datatable/DataTableFieldAsTrait.php
public function addDeleteButton($visibleHover=true,$deleteBehavior=[],$callback=null){
		$this->_deleteBehavior=$deleteBehavior;
		return $this->addDefaultButton("remove","_delete red basic",$visibleHover,$callback,"delete");
	}
public function addDeleteButton($visibleHover=true,$deleteBehavior=[],$callback=null){
		$this->_deleteBehavior=$deleteBehavior;
		return $this->addDefaultButton("remove","_delete red basic",$visibleHover,$callback,"delete");
	}
public function addDeleteButton ( $ visibleHover = true , $ deleteBehavior = [ ] , $ callback = null ) { $ this -> _deleteBehavior = $ deleteBehavior ; return $ this -> addDefaultButton ( "remove" , "_delete red basic" , $ visibleHover , $ callback , "delete" ) ; }
Adds a delete button
@param boolean $visibleHover
@param array $deleteBehavior default : array("preventDefault"=>true,"stopPropagation"=>true,"jsCallback"=>NULL,"attr"=>"data-ajax","params"=>"{}","method"=>"get")
@param callable $callback this function takes the following arguments : $object=>the delete button, $instance : the active instance of the object
@return DataTable
Adds a delete button