Wiki articles tagged with "gridview"

Showing 1-11 of 11 items.
Created 9 months ago by Chris Backhouse, updated 24 days ago by Chris Backhouse.

Yii2 Report Grid

There are some very advanced grids in the Yii2 community, specifically Kartik's amazing gridview extensions but they all designed for interactive screen use.

3 0
6 followers
Viewed: 12 837 times
Version: 2.0
Category: Tips
Created a year ago by Amjad Khan, updated a year ago by Amjad Khan.

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

Following is the table structure

tblgroups

CREATE TABLE IF NOT EXISTS `tblgroups` (
  `id` int(11) NOT NULL,
  `groupname` varchar(150) NOT NULL,
  `status` tinyint(1) NOT NULL DEFAULT '1' COMMENT '1=Acitve,2=Inactive',
  `date` datetime NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

tblcontacts

0 0
6 followers
Viewed: 29 547 times
Version: 2.0
Category: Tutorials
Created a year ago by softark, updated a year ago by Patrick Jones.

A Single Page with a List and a Detail

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.

1 0
4 followers
Viewed: 9 933 times
Version: 2.0
Category: How-tos
Created 2 years ago by AlaFalaki, updated 2 years ago by AlaFalaki.

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

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)

0 0
2 followers
Viewed: 21 360 times
Version: 2.0
Category: Tips
Created 3 years ago by Sreenadh, updated 3 years ago by Sreenadh.

Pjax on ActiveForm and GridView - Yii2

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

4 0
13 followers
Viewed: 98 844 times
Version: 2.0
Category: How-tos
Created 3 years ago by Scott_Huang, updated 3 years ago by Scott_Huang.

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

We will leverage Yii2-excelview widget. So, first of all is install Yii2-excelview:

0 0
5 followers
Viewed: 43 847 times
Version: 2.0
Category: Tips
Created 3 years ago by Kartik V, updated 3 years ago by Kartik V.

Filter & Sort by Summary Data in GridView Yii 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.

2 2
48 followers
Viewed: 49 211 times
Version: 2.0
Category: Tutorials
Created 3 years ago by Antonio Ramirez, updated 2 years ago by Cozumel.

Escape from Default's Yii2 Delete Confirm Box

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: 28 656 times
Version: 2.0
Category: How-tos
Created 3 years ago by Antonio Ramirez, updated 3 years ago by Antonio Ramirez.

Displaying, Sorting and Filtering Model Relations on a GridView

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.

20 0
28 followers
Viewed: 177 923 times
Version: 2.0
Category: How-tos
Created 4 years ago by Kartik V, updated 3 years ago by Kartik V.

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

This wiki explains how to add calculated fields into your Yii Framework 2.0 gridview with filtering and sorting.

10 2
61 followers
Viewed: 172 847 times
Version: 2.0
Category: Tutorials
Created 4 years ago by Ankit Modi, updated 3 years ago by Ankit Modi.

Display Status image on CGridView column

How to display status image on admin gridview.

0 0
4 followers
Viewed: 14 574 times
Version: all
Category: Tutorials