public function getConfirm(Row $row)
	{
		if (!$this->confirm) {
			return null;
		}

		$question = $this->confirm[0];

		if (is_string($question)) {
			$question = $this->translate($question);
		} else {
			/**
			 * If user callback was used for setting action confirmation dialog, it has to return string
			 */
			$question = $this->getPropertyStringOrCallableGetString($row, $question, 'confirmation dialog');
		}

		if (!$this->confirm[1]) {
			return $question;
		}

		return str_replace('%s', $row->getValue($this->confirm[1]), $question);
	}
public function getConfirm(Row $row)
	{
		if (!$this->confirm) {
			return null;
		}

		$question = $this->confirm[0];

		if (is_string($question)) {
			$question = $this->translate($question);
		} else {
			/**
			 * If user callback was used for setting action confirmation dialog, it has to return string
			 */
			$question = $this->getPropertyStringOrCallableGetString($row, $question, 'confirmation dialog');
		}

		if (!$this->confirm[1]) {
			return $question;
		}

		return str_replace('%s', $row->getValue($this->confirm[1]), $question);
	}
public function getConfirm ( Row $ row ) { if ( ! $ this -> confirm ) { return null ; } $ question = $ this -> confirm [ 0 ] ; if ( is_string ( $ question ) ) { $ question = $ this -> translate ( $ question ) ; } else { /**
			 * If user callback was used for setting action confirmation dialog, it has to return string
			 */ $ question = $ this -> getPropertyStringOrCallableGetString ( $ row , $ question , 'confirmation dialog' ) ; } if ( ! $ this -> confirm [ 1 ] ) { return $ question ; } return str_replace ( '%s' , $ row -> getValue ( $ this -> confirm [ 1 ] ) , $ question ) ; }
Get confirm dialog for particular row item
@param Row $row
@return string
@throws DataGridException
Get confirm dialog for particular row item