src/Tab.php
public function renderView()
    {
        if ($this->path) {
            $this->js(true)->tab(
                ['cache' => false, 'auto' => true, 'path' => $this->path, 'apiSettings' => ['data' => ['__atk_tab' => 1]]]
            );
        } else {
            $this->js(true)->tab();
        }

        if ($this->owner->activeTabName == $this->name) {
            $this->js(true)->click();
        }

        parent::renderView();
    }
public function renderView()
    {
        if ($this->path) {
            $this->js(true)->tab(
                ['cache' => false, 'auto' => true, 'path' => $this->path, 'apiSettings' => ['data' => ['__atk_tab' => 1]]]
            );
        } else {
            $this->js(true)->tab();
        }

        if ($this->owner->activeTabName == $this->name) {
            $this->js(true)->click();
        }

        parent::renderView();
    }
public function renderView ( ) { if ( $ this -> path ) { $ this -> js ( true ) -> tab ( [ 'cache' => false , 'auto' => true , 'path' => $ this -> path , 'apiSettings' => [ 'data' => [ '__atk_tab' => 1 ] ] ] ) ; } else { $ this -> js ( true ) -> tab ( ) ; } if ( $ this -> owner -> activeTabName == $ this -> name ) { $ this -> js ( true ) -> click ( ) ; } parent :: renderView ( ) ; }
Rendering one tab view.
Rendering one tab view .