M
M
Monitorkin2017-04-06 11:00:36
Yii
Monitorkin, 2017-04-06 11:00:36

How to insert custom date-* attribute into GridView table cells?

Hello,
is it possible in GridView to <td>...</td>insert an arbitrary date-* attribute ( ) into each cell of the table ( <td date-param="111">...</td>), for further editing cells with ajax.
If yes, please show how. Thank you!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim Timofeev, 2017-04-06
@Monitorkin

[
'attribute'=>'myattribute',
'contentOptions'=>['data-param'=>111]
]

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question