Wiki

Articles tagged with "gridview"X
Displaying 1-10 of 15 result(s).

Yii2 Report Grid

Created 5 months ago by Chris BackhouseTips0 comments – viewed 7,415 times – ( +3 ) – version 2.0
There are some very advanced grids in the Yii2 community, specifically Kartik's amazing gridview extensions but they all designed for interactive screen use.
tags: GridView, report

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

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

A Single Page with a List and a Detail

Created about a year ago by softarkHow-tos1 comment – viewed 8,624 times – ( +4 / -1 ) – 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

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

Created about a year ago by AlaFalakiTips1 comment – viewed 17,640 times – ( +2 / -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)

Clear CGridView Filters, Sort & Pager

Created 3 years ago by le_topHow-tos0 comments – viewed 10,154 times – ( +2 / -1 ) – 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

Created 3 years ago by SreenadhHow-tos6 comments – viewed 92,036 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.

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

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

Filter & Sort by Summary Data in GridView Yii 2.0

Created 3 years ago by Kartik VTutorials7 comments – viewed 46,245 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.

Escape from Default's Yii2 Delete Confirm Box

Created 3 years ago by Antonio RamirezHow-tos9 comments – viewed 26,926 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 Model Relations on a GridView

Created 3 years ago by Antonio RamirezHow-tos15 comments – viewed 163,506 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.