I am new in yii2. I generated a search with gridwiew! But I want to add to this search some options, when you have lets say products, you see list of products from databse.
I would like to add check box for each of them, so clicking on 2 country to see all rows with these 2 countries.
I solve it adding this manually, can someone help me to solve it with gridview, because I want to learn to use it in this way.
Any tips, suggestion will be great for me. I will attach the PrintScreen like example what I want to do.
First of all, “dropdown with checkbox” is something very special. You have to implement it before you try to use it in GridView. I tried to google it and found some attempts to implement it. I don’t know which one to choose.
Once you’ve got one that satisfies your needs, then you have to write some additional code to integrate it with GridView, probably extending DataColumn.