public function getRecordOnClick($record)
    {
        if (!isset($this->recordOnClick)) {
            return null;
        }

        $recordOnClick = RouterHelper::replaceParameters($record, $this->recordOnClick);
        return Html::attributes(['onclick' => $recordOnClick]);
    }
public function getRecordOnClick($record)
    {
        if (!isset($this->recordOnClick)) {
            return null;
        }

        $recordOnClick = RouterHelper::replaceParameters($record, $this->recordOnClick);
        return Html::attributes(['onclick' => $recordOnClick]);
    }
public function getRecordOnClick ( $ record ) { if ( ! isset ( $ this -> recordOnClick ) ) { return null ; } $ recordOnClick = RouterHelper :: replaceParameters ( $ record , $ this -> recordOnClick ) ; return Html :: attributes ( [ 'onclick' => $ recordOnClick ] ) ; }
Returns the onclick event for a list row.
@param  Model $record
@return string
Returns the onclick event for a list row .