Answer the question
In order to leave comments, you need to log in
Yii2: how to pass additional data to GridView?
Let's say if you need to add some kind of column, or display some kind of variable instead of some column. Or is there some value in one of the columns, but you need to display this value in this column with some kind of action performed on this value?
Answer the question
In order to leave comments, you need to log in
Anonymous functions that are often used in grids to display values in columns have the ability to pass arbitrary parameters through the use construct
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question