Could this method be extended to allow you to set the title attribute to a custom value?
I need to direct my ajax requests for paging, filter etc. to an alternate location.
Could this method be extended to allow you to set the title attribute to a custom value?
I need to direct my ajax requests for paging, filter etc. to an alternate location.
public function renderKeys()
{
echo CHtml::openTag('div',array(
'class'=>'keys',
'style'=>'display:none',
'title'=>$this->route===null ? Yii::app()->getRequest()->getUrl() : $this->route.'?'.
Yii::app()->getRequest()->getQueryString(),
));
foreach($this->dataProvider->getKeys() as $key)
echo "<span>".CHtml::encode($key)."</span>";
echo "</div>\n";
}
Something like this, Would bring it inline with Pager and sort where the route can be set.