You can change columns visibility and order



Displaying 61-90 of 100 result(s).
NameAgeLogin Date  
Casey, Julie I.592012-03-25View Update Delete
Berry, Cassady X.632012-03-25View Update Delete
Mclaughlin, Kenneth W.282012-03-25View Update Delete
Snider, Declan M.472012-03-25View Update Delete
Mays, Patrick Q.222012-03-25View Update Delete
Gates, Anthony N.282012-03-25View Update Delete
Mercer, Hanae P.552012-03-25View Update Delete
Cervantes, Jaquelyn Q.672012-03-25View Update Delete
Cline, Jessica R.512012-03-25View Update Delete
Willis, Sydnee B.402012-03-25View Update Delete
Noel, Ainsley D.322012-03-26View Update Delete
Norman, Imelda S.692012-03-26View Update Delete
Cline, Colin M.662012-03-26View Update Delete
Mays, Inez A.372012-03-26View Update Delete
Blackburn, Bert L.672012-03-26View Update Delete
Gamble, Vaughan K.492012-03-26View Update Delete
Mcmahon, Kessie F.632012-03-26View Update Delete
Stein, Cain N.442012-03-26View Update Delete
Sims, Murphy N.392012-03-26View Update Delete
William, Quincy Y.452012-03-26View Update Delete
Hall, Nerea T.182012-03-26View Update Delete
Jensen, Mufutau R.392012-03-26View Update Delete
Schneider, Chastity X.362012-03-26View Update Delete
Bond, Alexander O.462012-03-26View Update Delete
Giles, Desiree P.592012-03-26View Update Delete
Guerra, Phoebe V.452012-03-26View Update Delete
Clay, Ashely J.532012-03-26View Update Delete
Mcbride, Noel H.322012-03-26View Update Delete
Warner, Leonard X.312012-03-26View Update Delete
Ayers, Rae S.642012-03-26View 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()
    ));
?>