CGridView ProgressBar

I’m Trying to insert a progressbar into a column in a GridView. I can insert the progressbar to show in the column but I cannot reference special Var $data

My column is precent_comp which is an integer value and I would like to drive the progressbar based on the value contained with in.

View:

<script type="text/javascript">

$(document).ready(function(){

setInterval(function(){

&#036;.fn.yiiGridView.update('JobsView'); 

}, 5000);

});

</script>

<?php

$this->breadcrumbs=array(

'Jobs',

);

?>

<!-- Grid View -->

<?php

//print_r($model->joinSearch()->getData());

$this->widget(‘zii.widgets.grid.CGridView’, array(

'id'=&gt;'JobsView',


'dataProvider'=&gt;&#036;model-&gt;Search(),


'filter'=&gt; &#036;model,


'selectableRows'=&gt;50,


'columns'=&gt;array(


                   'job',


                   array (


                      'name'=&gt;'percent_comp',


                      'value'=&gt;'Controller::createWidget(&quot;zii.widgets.jui.CJuiProgressBar&quot;,array(





                          &quot;value&quot;=&gt;&quot;&#036;data-&gt;percent_comp&quot;,





                        ))-&gt;run()',


                       


                         ),


    


),


));

?>

Try with

"value"=>intval($data->percent_comp)

Best regards