bootprogresscolumn Progress Bar Inside GridView Column compatible with 'bootstrap' extension

  1. Requirements
  2. Usage
  3. Resources
  4. Thanks

This progress bar is based on this wiki article.

Requirements

  • Yii 1.1.x
  • A column in a CGridview widget ;)

Usage

  • Download the extension
  • Extract to protected/extensions/ directory
  • In your view use the widget CGridView/BootGridView like this:
$this->widget('bootstrap.widgets.BootGridView', array(
    'id' => 'model-grid',
    'dataProvider' => $model->search(),
    'filter' => $model,
    'columns' => array(
        'id',
        'name',
        array(
            'class' => 'ext.BootProgressColumn.BootProgressColumn',
            'name' => 'percentage',
            'percent' => 'percentage',
        ),
    ),
));
 

Resources

Thanks

to @Luiz

4 0
9 followers
672 downloads
Yii Version: 1.1
License: BSD-2-Clause
Category: User Interface
Developed by: robregonm
Created on: Dec 19, 2012
Last updated: 11 years ago

Downloads

show all

Related Extensions