Hello friends, I wanted to ask you something very simple;
You are setting up a data provider for my GridView as follows. As you can see, I put a calculated field “count(talleresdet_id) as cantidad” in the Select statement:
The Sql syntax is correct, only I have not placed it complete and I have already tested it with createCommand () -> geRawSql ()
The problem is that I want to put the calculated field as a column in the GridView, but I get an error. If I use ArrayDataProvider it works but I prefer to use ActiveDataProvider