[Solved]Yii CGridView – click button to open new winodw

Sometime, we want to open a new window when clicking view or update button and keeping the grid view there. We can config as following:

'buttons'=>array(
        'view' => array(
            'options' => array('target' => '_new'),
        ),
    ),