Hello guys…
i want to use TbTypeahead ekstensions, i already follow the tutorial.
but it doesnt work
this is my code
<?php $list = CHtml::listData(appbTNodt::model()->findAll(),‘NO_DT’,‘NO_DT’);?>
<?php $this->widget(‘booster.widgets.TbTypeahead’, array(
'model'=>$modelTimbangKosong,
'attribute'=>'NO_DT',
'options'=>array(
'source'=>array($list),
'items'=>4,
'matcher'=>"js:function(item) {
return ~item.toLowerCase().indexOf(this.query.toLowerCase());
}",
),
)); ?>
any one can help me T_T