Wiki

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

How to change GridView delete confirmation message for specific controllers only?

Updated 2 months ago by AlaFalakiTips0 comments – viewed 2,802 times – ( +1 ) – version 2.0
Hello, If you want to give extra attention for some specific delete actions and you don't want to override whole yii.confirm JS method here is what you can do: (I've only put the ActionColumn part of the GridView here to just give you the idea)

Escape from Default's Yii2 Delete Confirm Box

Updated 2 months ago by CozumelHow-tos8 comments – viewed 15,924 times – ( +9 ) – 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.

Clear CGridView Filters, Sort & Pager

Updated about a year ago by le_topHow-tos0 comments – viewed 7,036 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 about a year ago by SreenadhHow-tos6 comments – viewed 45,677 times – ( +9 ) – 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 about a year ago by Scott_HuangTips3 comments – viewed 23,640 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 about a year ago by Ankit ModiTutorials1 comment – viewed 11,108 times – ( +2 / -1 ) – version all
How to display status image on admin gridview.

Filter & Sort by Summary Data in GridView Yii 2.0

Updated about a year ago by Kartik VTutorials6 comments – viewed 28,507 times – ( +39 / -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 about a year ago by Kartik VTutorials23 comments – viewed 89,242 times – ( +55 / -4 ) – 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

Updated 2 years ago by Antonio RamirezHow-tos9 comments – viewed 72,870 times – ( +38 / -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.

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

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