Commits

Christoffer Niska committed f5b6f76

Changed the default itemCssClass for BootGridView and updated the test page.

Comments (0)

Files changed (2)

demo/protected/views/site/index.php

 	'items'=>array(
 		array('label'=>'Home', 'url'=>'#', 'active'=>true),
 		array('label'=>'Profile', 'url'=>'#'),
-		array('label'=>'Dropdown', 'items'=>array(
-			array('label'=>'Secondary link', 'url'=>'#'),
-			array('label'=>'Something else here', 'url'=>'#'),
-			'---',
-			array('label'=>'Another link', 'url'=>'#'),
-		)),
 		array('label'=>'Messages', 'url'=>'#'),
 	),
 )); ?>

widgets/BootGridView.php

 	/**
 	 * @var string the CSS class name for the container table. Defaults to 'table'.
 	 */
-	public $itemsCssClass = 'table';
+	public $itemsCssClass = 'table table-striped';
 	/**
 	 * @var string the CSS class name for the pager container.
 	 * Defaults to 'pagination'.