Wiki

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

Displaying, sorting and filtering HasMany & ManyMany relations in CGridView

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

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

Created about a year ago by Kartik VTutorials21 comments – viewed 36,732 times – ( +50 / -4 ) – version 2.0
This wiki explains how to add calculated fields into your Yii Framework 2.0 gridview with filtering and sorting.

An easy way to use escopes and CActiveDataProvider

Created 4 years ago by Rafael GarciaTips8 comments – viewed 23,681 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.

Displaying, Sorting and Filtering Model Relations on a GridView

Created about a year ago by Antonio RamirezHow-tos4 comments – viewed 19,699 times – ( +17 / -1 ) – 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.

Pjax on ActiveForm and GridView - Yii2

Created 5 months ago by SreenadhHow-tos3 comments – viewed 14,723 times – ( +5 ) – version 2.0
Here is a example on how to use Pjax with GridView (yii\grid\GridView) and ActiveForm (yii\widgets\ActiveForm) widgets in Yii2.

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

Created about a year ago by Kostas Apazidis (KonApaz)How-tos2 comments – viewed 13,667 times – ( +4 ) – version 1.1
Suppose you want to refresh a form or any content when a single row of CGridView is selected

Filter & Sort by Summary Data in GridView Yii 2.0

Created 11 months ago by Kartik VTutorials6 comments – viewed 11,739 times – ( +38 / -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.

Display Status image on CGridView column

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

Step by step for how to full export Yii2 grid to excel

Created 6 months ago by Scott_HuangTips2 comments – viewed 7,786 times – version 2.0
We will leverage Yii2-excelview widget. So, first of all is install Yii2-excelview:

Escape from Default's Yii2 Delete Confirm Box

Created about a year ago by Antonio RamirezHow-tos8 comments – viewed 7,264 times – ( +6 ) – 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.