Wiki articles in category How-tos tagged with "gridview"

Showing 1-5 of 5 items.

Pjax GridView: refresh page after delete

Created 5 years ago by hehbhehb, updated 5 years ago by CeBe.

Normally, after clicking the delete button in gridview, the record will be deleted and the page will refresh, but the page number in query string is lost. This is not always the case we expect.

6 0
4 followers
Viewed: 46 292 times
Version: 2.0
Category: How-tos

A Single Page with a List and a Detail

Created 7 years ago by softark, updated 7 years ago by Patrick Jones.

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.

3 0
5 followers
Viewed: 55 824 times
Version: 2.0
Category: How-tos

Pjax on ActiveForm and GridView - Yii2

Created 9 years ago by Sreenadh, updated 9 years ago by Sreenadh.

Here is a example on how to use Pjax with GridView (yii\grid\GridView) and ActiveForm (yii\widgets\ActiveForm) widgets in Yii2.

6 0
15 followers
Viewed: 163 791 times
Version: 2.0
Category: How-tos

Escape from Default's Yii2 Delete Confirm Box

Created 10 years ago by Antonio Ramirez, updated 8 years ago by Cozumel.

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.

4 1
16 followers
Viewed: 45 115 times
Version: 2.0
Category: How-tos

Displaying, Sorting and Filtering Model Relations on a GridView

Created 10 years ago by Antonio Ramirez, updated 10 years ago by Antonio Ramirez.

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.

49 0
38 followers
Viewed: 326 459 times
Version: 2.0
Category: How-tos