Show raw SQL query
Here's a quick tip to dump the SQL for query.
Here's a quick tip to dump the SQL for query.
There are a few issues with the other solutions I originally used that I found from other wikis. I address the issues I had in this much simpler and shorter way. I am also going to explain what is going into way more detail than others to help people understand what's going on.
Articles are separated into more files as there is the max lenght for each file on wiki.
This wiki explains how to add calculated fields into your Yii Framework 2.0 gridview with filtering and sorting.
By popular demand, today I will be revisiting my previous Yii Framework 2 Getting Started Guide and updating it with what is currently available in the Yii Framework 2 Repository. Provide here is an super simple example CRUD application that will help you get started using the framework.
One of the things you will find tricky to implement is the the sorting and filtering of a GridView's column that displays related model data.