Articles tagged with "gridview", sorted by viewsX
Displaying 1-8 of 8 result(s).

Displaying, sorting and filtering HasMany & ManyMany relations in CGridView

Created 2 years ago by yJeroenTutorials8 comments – viewed 40,566 times – ( +18 ) – version 1.1
This tutorial gives you multiple options of how to fully implement showing, sorting and filtering related data in gridviews.

An easy way to use escopes and CActiveDataProvider

Created 3 years ago by Rafael GarciaTips8 comments – viewed 21,254 times – ( +1 / -1 ) – version 1.1
Often used scopes to define criteria in our models. This is a very useful feature as it ensures that in any part of application applying the criteria defined by the scope when called it.

Filter & Sort by calculated/related fields in GridView Yii 2.0

Created 7 months ago by Kartik VTutorials18 comments – viewed 13,149 times – ( +32 / -4 ) – version 2.0
This wiki explains how to add calculated fields into your Yii Framework 2.0 gridview with filtering and sorting.

Update a part of content using AJAX when select a GridView row

Created 9 months ago by KonApazHow-tos2 comments – viewed 10,343 times – ( +4 ) – version 1.1
Suppose you want to refresh a form or any content when a single row of CGridView is selected

Display Status image on CGridView column

Created about a year ago by Ankit ModiTutorials1 comment – viewed 7,248 times – ( +1 / -1 ) – version all
How to display status image on admin gridview.

Displaying, Sorting and Filtering Model Relations on a GridView

Created 4 months ago by Antonio RamirezHow-tos0 comments – viewed 3,968 times – ( +2 ) – version 2.0
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.

Filter & Sort by Summary Data in GridView Yii 2.0

Created 4 months ago by Kartik VTutorials5 comments – viewed 3,662 times – ( +27 / -4 ) – version 2.0
This wiki explains how to add summary data from related models into your Yii Framework 2.0 gridview with filtering and sorting by the summary columns.

Escape from Default's Yii2 Delete Confirm Box

Created 4 months ago by Antonio RamirezHow-tos2 comments – viewed 2,650 times – ( +2 ) – version 2.0
If you started playing with Yii2's new GridView, you will soon realize that some things have improved quite a lot, but I am sure its going to be a bit confusing at first glance when you try to modify certain javascript behaviors like for example, its delete confirmation dialog box.