You can change columns visibility and order



Displaying 31-60 of 100 result(s).
NameAgeLogin Date  
Duffy, Hoyt U.192012-03-24View Update Delete
Hobbs, Rashad S.542012-03-24View Update Delete
Crawford, Inga T.692012-03-24View Update Delete
Clarke, Jessica Y.592012-03-24View Update Delete
Reese, Bradley N.682012-03-24View Update Delete
Burch, Rina V.492012-03-24View Update Delete
Rivera, Serina K.412012-03-24View Update Delete
Weiss, Michelle K.682012-03-24View Update Delete
Dillon, Chanda O.692012-03-24View Update Delete
Sweeney, Alea Q.642012-03-24View Update Delete
Sharp, Jennifer J.292012-03-24View Update Delete
Foster, Carlos G.682012-03-24View Update Delete
Dudley, Illiana T.342012-03-24View Update Delete
Williams, Charity B.572012-03-24View Update Delete
Butler, Keane E.512012-03-24View Update Delete
Slater, Yardley I.232012-03-24View Update Delete
Dominguez, Kai M.192012-03-24View Update Delete
Glover, Vielka L.292012-03-25View Update Delete
Morse, Geraldine J.342012-03-25View Update Delete
Callahan, Riley C.572012-03-25View Update Delete
Deleon, Akeem B.472012-03-25View Update Delete
Hudson, Melinda W.262012-03-25View Update Delete
Meadows, Idola F.282012-03-25View Update Delete
Oliver, Lynn P.562012-03-25View Update Delete
Wolfe, Isabelle E.662012-03-25View Update Delete
Tucker, Geoffrey V.542012-03-25View Update Delete
Duffy, Adam O.672012-03-25View Update Delete
Lester, Daria V.482012-03-25View Update Delete
Salinas, Edward X.162012-03-25View Update Delete
King, Macon B.202012-03-25View Update Delete
View:
<div style="width: 30%">
<?php 
    $eColumns = $this->widget('ext.ecolumns.EColumns', array(
        'gridId'  => 'grid1',
        'storage' => 'session', //where to store settings: 'db', 'session', 'cookie'
        'model' => $dataProvider->model, 
        'columns' => array(
           'name',
           'age',
            array(
              'name' => 'login_date',
              'header' => 'Login Date',
            ), 
            array(
              'class'=>'CLinkColumn',
              'visible' => false, //not visible by default, but can be toggled later
            ),
            array(
             'class'=>'CButtonColumn',
            ),
            array(
             'class'=>'CCheckBoxColumn',
            ),        
        ),
   ));
?>
</div>

<?php
    $this->widget('zii.widgets.grid.CGridView', array(
       'id' => 'grid1',
       'dataProvider' => $dataProvider,
       'columns' => $eColumns->columns()
    ));
?>