I use standard GridView::widget . Tell me how in ActionColumn to display by condition in one line only view ( {view} ), and in another view and delete ( {view} {delete} ).
Here is almost my case, only in this example the set of control buttons in the entire table changes, and I need to line by line.