Wiki

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

Displaying, Sorting and Filtering Model Relations on a GridView

Created 2 years ago by Antonio RamirezHow-tos12 comments – viewed 98,386 times – ( +40 / -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.

Displaying, sorting and filtering HasMany & ManyMany relations in CGridView

Created 4 years ago by yJeroenTutorials8 comments – viewed 56,282 times – ( +21 ) – 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 2 years ago by Kartik VTutorials23 comments – viewed 111,964 times – ( +56 / -4 ) – version 2.0
This wiki explains how to add calculated fields into your Yii Framework 2.0 gridview with filtering and sorting.

Filter & Sort by Summary Data in GridView Yii 2.0

Created 2 years ago by Kartik VTutorials7 comments – viewed 34,381 times – ( +40 / -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.

Pjax on ActiveForm and GridView - Yii2

Created about a year ago by SreenadhHow-tos6 comments – viewed 59,116 times – ( +11 ) – 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.

Escape from Default's Yii2 Delete Confirm Box

Created 2 years ago by Antonio RamirezHow-tos8 comments – viewed 19,599 times – ( +9 / -1 ) – 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.

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

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

A Single Page with a List and a Detail

Created 2 months ago by softarkHow-tos1 comment – viewed 4,454 times – ( +3 ) – version 2.0
The CRUD generator of Gii has done a wonderful job for you, and you already have a list of items in the "index" page and a detailed view of a specified item in the "view" page.
tags: gridview, detail, ajax

Clear CGridView Filters, Sort & Pager

Created about a year ago by le_topHow-tos0 comments – viewed 7,831 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.

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

Created 7 months ago by AlaFalakiTips1 comment – viewed 6,814 times – ( +2 ) – 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)