What is the alternative to Lookup model to view dropdownlists from lookup model in Gridview
Like this in Yi 1.1:
?= GridView::widget([
'dataProvider' => $DataProvider,
'columns' => [
id',
'exam_name',
[
'attribute' => 'exam_nature',
'value' => 'Lookup::item("ExamNature", $data->exam_nature)',
'filter' => Lookup::items('ExamNature'),
],
]
?>