O
O
Oversec2016-10-07 10:06:28
Yii
Oversec, 2016-10-07 10:06:28

How to make column become checked in GridView yii2?

In the first column I have a checkbox. It is necessary for me that at pushing in any of columns in a line the line became selected (checked). I did not find the standard functionality ...

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim Fedorov, 2016-10-07
@Oversec

There is no such functionality in the standard GridView. Write your own jQuery handler that will:
1. Catch a click on a specific row in the table
2. Search for the check-box corresponding to the row
3. Actually check it

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question