Displaying 91-100 of 100 result(s).
Login DateCompanyNameAge  
2012-03-26LavasoftDickson, Britanney E.29View Update Delete
LycosNorman, Imelda S.69View Update Delete
Wolf, Bethany J.44View Update Delete
MacromediaMcmahon, Kessie F.63View Update Delete
William, Quincy Y.45View Update Delete
Blackburn, Rhona C.24View Update Delete
MicrosoftClay, Ashely J.53View Update Delete
SibeliusMckenzie, Desirae Z.35View Update Delete
YahooGuerra, Phoebe V.45View Update Delete
Branch, Abdul Q.40View Update Delete
View:
    $this->widget('ext.groupgridview.GroupGridView', array(
      'id' => 'grid1',
      'dataProvider' => $dp,
      'mergeColumns' => array('login_date', 'company'),
      'columns' => array(
        'login_date',
        'company',
        'name',
        'age',
        array('class' => 'CLinkColumn'),
        array('class' => 'CButtonColumn'),        
      ),
    ));
Controller:
    public function actionTwoRowspan()
    {
        $dp = new CActiveDataProvider('User', array( 
               'attributes' => array(
                  'login_date' => array(
                    'asc' => 'login_date ASC, company ASC',
                    'desc' => 'login_date DESC, company ASC',
                  )
               ),
              'defaultOrder' => 'login_date, company',
            ),
            'pagination' => array(
               'pagesize' => 30,
            ),
        )); 
        
        $this->render('tworowspan', array('dp' => $dp));
    } 
CSS:
    /* grid border */
    .grid-view table.items th, .grid-view table.items td {
        border: 1px solid gray !important;
    } 

    /* disable selected for merged cells */     
    .grid-view td.merge {
       background: none repeat scroll 0 0 #F8F8F8; 
    }