Displaying 1-30 of 100 result(s).
NameLogin DateCompanyAge
A
Aguirre, Calvin Q.2012-03-23Sibelius27A
Atkins, Jaime B.2012-03-23Yahoo49A
Austin, Nina L.2012-03-23Macromedia64A
Ayers, Rae S.2012-03-26Cakewalk64A
B
Berry, Cassady X.2012-03-25Microsoft63B
Blackburn, Bert L.2012-03-26Borland67B
Blackburn, Rhona C.2012-03-26Macromedia24B
Bond, Alexander O.2012-03-26Adobe46B
Branch, Abdul Q.2012-03-26Yahoo40B
Burch, Rina V.2012-03-24Borland49B
Butler, Keane E.2012-03-24Lycos51B
C
Callahan, Riley C.2012-03-25Altavista57C
Casey, Julie I.2012-03-25Google59C
Castillo, Palmer J.2012-03-23Finale28C
Cervantes, Jaquelyn Q.2012-03-25Cakewalk67C
Clarke, Jessica Y.2012-03-24Lavasoft59C
Clay, Ashely J.2012-03-26Microsoft53C
Cline, Colin M.2012-03-26Apple Systems66C
Cline, Jessica R.2012-03-25Cakewalk51C
Crawford, Inga T.2012-03-24Altavista69C
D
Deleon, Akeem B.2012-03-25Altavista47D
Dickson, Britanney E.2012-03-26Lavasoft29D
Dillon, Chanda O.2012-03-24Finale69D
Dominguez, Kai M.2012-03-24Borland19D
Dorsey, Susan J.2012-03-26Altavista62D
Dudley, Illiana T.2012-03-24Microsoft34D
Duffy, Adam O.2012-03-25Altavista67D
Duffy, Hoyt U.2012-03-24Apple Systems19D
Duke, Myles N.2012-03-23Adobe49D
E
Eaton, Imogene N.2012-03-24Borland17E
View:
    $this->widget('ext.groupgridview.GroupGridView', array(
      'id' => 'grid1',
      'dataProvider' => $dp,
      'extraRowColumns' => array('firstLetter'),
      'extraRowExpression' => '"<b style=\"font-size: 3em; color: green\">".substr($data->name, 0, 1)."</b>"',
      'columns' => array(
        'name',
        'login_date',
        'company',
        'age',
        array(
           'name' => 'firstLetter',
           'value' => 'substr($data->name, 0, 1)',
           'headerHtmlOptions' => array('style' => 'display: none'),
           'htmlOptions' => array('style' => 'display: none'),
        )
      ),
    ));
Controller:
    public function actionExtraRowExpr()
    {
        $dp = new CActiveDataProvider('User', array(
            'sort'=>array( 
               'attributes' => array('name'),
               'defaultOrder' => 'name',
            ),
            'pagination' => array(
               'pagesize' => 30,
            ),
        )); 
        
        $this->render('extrarowexpr', array('dp' => $dp));
    }  
CSS:
    /* grid border */
    .grid-view table.items th, .grid-view table.items td {
        border: 1px solid gray !important;
    } 

    /* disable selection for extrarows */     
    .grid-view td.extrarow {
       background: none repeat scroll 0 0 #F8F8F8; 
    }