Click on layout link and change columns visibility/order in dialog.
Layout
Displaying 1-30 of 100 result(s).
 NameAgeLogin DateLink 
Rivas, Travis N.162012-03-23View Update Delete
Duke, Myles N.492012-03-23View Update Delete
Grimes, Juliet V.542012-03-23View Update Delete
Reilly, Adrian Q.512012-03-23View Update Delete
Warner, Trevor Y.242012-03-23View Update Delete
Hays, Libby U.212012-03-23View Update Delete
Lane, Tanya G.172012-03-23View Update Delete
Wyatt, Neville A.462012-03-23View Update Delete
Little, Rebecca Y.242012-03-23View Update Delete
Wyatt, Nola K.412012-03-23View Update Delete
Shepard, Rajah M.482012-03-23View Update Delete
Castillo, Palmer J.282012-03-23View Update Delete
Wheeler, Cassidy E.492012-03-23View Update Delete
Estes, Leandra Q.442012-03-23View Update Delete
Ortiz, Warren I.702012-03-23View Update Delete
Matthews, Melinda Q.202012-03-23View Update Delete
Whitehead, Jamal B.562012-03-23View Update Delete
Austin, Nina L.642012-03-23View Update Delete
Wise, Hamish W.292012-03-23View Update Delete
Jacobs, Sean Y.262012-03-23View Update Delete
Wolf, Zachary S.472012-03-23View Update Delete
Aguirre, Calvin Q.272012-03-23View Update Delete
Weaver, Devin C.462012-03-23View Update Delete
Hunt, Ivan P.542012-03-23View Update Delete
Atkins, Jaime B.492012-03-23View Update Delete
Pierce, Selma S.562012-03-23View Update Delete
Weiss, Michelle K.682012-03-24View Update Delete
Crawford, Inga T.692012-03-24View Update Delete
Reese, Bradley N.682012-03-24View Update Delete
Duffy, Hoyt U.192012-03-24View Update Delete
View:
//layout dialog
$dialog = $this->widget('ext.ecolumns.EColumnsDialog', array(
       'options'=>array(
            'title' => 'Layout settings',
            'autoOpen' => false,
            'show' =>  'fade',
            'hide' =>  'fade',
        ),
       'htmlOptions' => array('style' => 'display: none'), //disable flush of dialog content
       'ecolumns' => array(
            'gridId' => 'grid1', //id of related grid
            'storage' => 'db',  //where to store settings: 'db', 'session', 'cookie'
            'fixedLeft' => array('CCheckBoxColumn'), //fix checkbox to the left side 
            'model' => $dataProvider->model, //model is used to get attribute labels
            'columns' => array(
               'name',
               'age',
                array(
                  'name' => 'login_date',
                  'header' => 'Login Date',
                ), 
                array(
                 'class'=>'CLinkColumn',
                 'header' => 'Link',
                ),
                array(
                 'class'=>'CButtonColumn',
                ),
                array(
                 'class'=>'CCheckBoxColumn',
                ),               
           ),
       )
));

//grid
$this->widget('zii.widgets.grid.CGridView', array(
       'id' => 'grid1',
       'dataProvider' => $dataProvider,
       'template' => $dialog->link()."{summary}\n{items}\n{pager}",
       'columns' => $dialog->columns(),
));