Wiki

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

Clear CGridView Filters, Sort & Pager

Updated 2 months ago by le_topHow-tos0 comments – viewed 3,094 times – ( +2 ) – version 1.1
Clearing CGridView filters and sort orders from the web pages, is usefull for the end user. Yii does not seem to propose a standard method. Furthermore, this is especially usefull when filters are "remembered" in the user's session.

Pjax on ActiveForm and GridView - Yii2

Updated 2 months ago by SreenadhHow-tos3 comments – viewed 5,698 times – ( +3 ) – 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.

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

Updated 3 months ago by Scott_HuangTips2 comments – viewed 4,237 times – version 2.0
We will leverage Yii2-excelview widget. So, first of all is install Yii2-excelview:

Display Status image on CGridView column

Updated 6 months ago by Ankit ModiTutorials1 comment – viewed 8,346 times – ( +1 / -1 ) – version all
How to display status image on admin gridview.

Filter & Sort by Summary Data in GridView Yii 2.0

Updated 8 months ago by Kartik VTutorials5 comments – viewed 7,945 times – ( +31 / -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.

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

Updated 8 months ago by Kartik VTutorials20 comments – viewed 25,013 times – ( +38 / -4 ) – version 2.0
This wiki explains how to add calculated fields into your Yii Framework 2.0 gridview with filtering and sorting.

Escape from Default's Yii2 Delete Confirm Box

Updated 9 months ago by Antonio RamirezHow-tos6 comments – viewed 5,132 times – ( +5 ) – 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.

Displaying, Sorting and Filtering Model Relations on a GridView

Updated 9 months ago by Antonio RamirezHow-tos3 comments – viewed 11,005 times – ( +11 ) – 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.

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

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

Displaying, sorting and filtering HasMany & ManyMany relations in CGridView

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