Wiki

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

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

Created 3 years ago by Kartik VTutorials25 comments – viewed 161,464 times – ( +57 / -5 ) – version 2.0
This wiki explains how to add calculated fields into your Yii Framework 2.0 gridview with filtering and sorting.

Displaying, Sorting and Filtering Model Relations on a GridView

Created 3 years ago by Antonio RamirezHow-tos15 comments – viewed 161,135 times – ( +46 / -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.

Escape from Default's Yii2 Delete Confirm Box

Created 3 years ago by Antonio RamirezHow-tos9 comments – viewed 26,600 times – ( +9 / -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.

Displaying, sorting and filtering HasMany & ManyMany relations in CGridView

Created 5 years ago by yJeroenTutorials8 comments – viewed 60,684 times – ( +21 / -1 ) – 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 6 years ago by Rafael GarciaTips8 comments – viewed 29,584 times – ( +1 / -2 ) – 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 Summary Data in GridView Yii 2.0

Created 3 years ago by Kartik VTutorials7 comments – viewed 45,748 times – ( +40 / -5 ) – 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.

Pjax on ActiveForm and GridView - Yii2

Created 3 years ago by SreenadhHow-tos6 comments – viewed 90,823 times – ( +13 / -1 ) – 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.

Yii2 GridView Sorting and Searching with a Junction Table Column(Many to Many Relationship)

Created about a year ago by Amjad KhanTutorials3 comments – viewed 20,174 times – ( +5 / -1 ) – version 2.0
Following is the table structure

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

Created 3 years ago by Scott_HuangTips3 comments – viewed 40,019 times – ( -1 ) – version 2.0
We will leverage Yii2-excelview widget. So, first of all is install Yii2-excelview:

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

Created 3 years ago by Kostas Apazidis (KonApaz)How-tos2 comments – viewed 20,937 times – ( +4 / -1 ) – version 1.1
Suppose you want to refresh a form or any content when a single row of CGridView is selected