jQWidgets Forums
jQuery UI Widgets › Forums › General Discussions › Yii2 samples? › Reply To: Yii2 samples?
Thank you for your reply.
It does seem that jqwidgets has been abandoned by the yii2 community.
There was a lot of useful stuff for 1.0, but nobody has taken up the torch for yii2.
In case anyone else is trying to evaluate yii2 and jqwidgets with JSONP, I found one way to get going was to override ActiveDataProvider::getModels
public function getModels()
{
$this->prepare();
return ['data' => parent::getModels(), 'callback' => $_REQUEST['callback'] ];
}
I notice others are returning similar, but directly from a rest controller rather than the data provider.