@
@
@Insout2017-01-14 21:44:38
Yii
@Insout, 2017-01-14 21:44:38

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

1 answer(s)
M
melnikov_m, 2017-01-14
@melnikov_m

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 question

Ask a Question

731 491 924 answers to any question