    /**
     * ${item.getCaption()}
     *
     * @param {any[]} args
     * @param {*} [params]
     * @param {*} [$event]
     * @param {*} [xData]
     * @memberof ${srfclassname('${view.name}')}
     */
    public ${item.getFullCodeName()}(args: any[], params?: any, $event?: any, xData?: any) {
        if (xData && xData.refresh_parent && xData.refresh_parent instanceof Function) {
            xData.refresh_parent();
            return;
        }
        const _this: any = this;
        if (_this.refresh_parent && _this.refresh_parent instanceof Function) {
            _this.refresh_parent();
            return;
        }
        <#if view.hasPSControl('treeexpbar')>
        <#assign treeexpbar = view.getPSControl('treeexpbar')/>
        _this.viewState.next({ tag: '${treeexpbar.name}', action: 'refresh_parent', data: {} });
        </#if>
    }