src/Popup.php
public function jsPopup()
    {
        $name = $this->triggerBy;
        if (!is_string($this->triggerBy)) {
            $name = '#'.$this->triggerBy->name;
            if ($this->triggerBy instanceof FormField\Generic) {
                $name = '#'.$this->triggerBy->name.'_input';
            }
        }
        $chain = new jQuery($name);
        $chain->popup($this->popOptions);
        if ($this->stopClickEvent) {
            $chain->on('click', new jsExpression('function(e){e.stopPropagation();}'));
        }

        return $chain;
    }
public function jsPopup()
    {
        $name = $this->triggerBy;
        if (!is_string($this->triggerBy)) {
            $name = '#'.$this->triggerBy->name;
            if ($this->triggerBy instanceof FormField\Generic) {
                $name = '#'.$this->triggerBy->name.'_input';
            }
        }
        $chain = new jQuery($name);
        $chain->popup($this->popOptions);
        if ($this->stopClickEvent) {
            $chain->on('click', new jsExpression('function(e){e.stopPropagation();}'));
        }

        return $chain;
    }
public function jsPopup ( ) { $ name = $ this -> triggerBy ; if ( ! is_string ( $ this -> triggerBy ) ) { $ name = '#' . $ this -> triggerBy -> name ; if ( $ this -> triggerBy instanceof FormField \ Generic ) { $ name = '#' . $ this -> triggerBy -> name . '_input' ; } } $ chain = new jQuery ( $ name ) ; $ chain -> popup ( $ this -> popOptions ) ; if ( $ this -> stopClickEvent ) { $ chain -> on ( 'click' , new jsExpression ( 'function(e){e.stopPropagation();}' ) ) ; } return $ chain ; }
Return js action need to display popup.
When a grid is reloading, this method can be call
in order to display the popup once again.

@return jQuery
Return js action need to display popup . When a grid is reloading this method can be call in order to display the popup once again .