Wiki

Articles tagged with "cgridview", sorted by viewsX
Displaying 21-30 of 38 result(s).

Searching and Sorting by Count of Related Items in CGridView

Created about a year ago by softarkHow-tos10 comments – viewed 16,243 times – ( +21 )
Let's say we have two models and relation between them:

Exporting CGridView results to CSV file

Created about a year ago by RusAlexTutorials8 comments – viewed 15,751 times – ( +6 / -2 )
A few days ago, i worked for CGridView exporting functional for my client. He asked me to create a simple exporting to a CSV file a CGridView search results.
tags: cgridview, export, csv

Using CJuiDatePicker for CGridView filter

Created about a year ago by softarkHow-tos3 comments – viewed 15,629 times – ( +16 )
We can use a CJuiDatePicker for a CGridView inline filter.

Keeping a running total in a CGridView

Created 2 years ago by Steve FriedlHow-tos3 comments – viewed 15,317 times – ( +21 )
This tip created in conjunction with IRC #yii channel users emilsedgh and tydeas - thanks!
tags: CGridView

Search method of a model for filters when using dates - unixtimestamp in database

Created 2 years ago by MukkeTips1 comment – viewed 15,060 times – ( +10 )
I ran into a problem and on irc we worked it out. Since there is a lack on information on filters in genral i thought i'd start sharing all my findings, might be usefull for other people.

CGridView and AjaxForm Connect

Created 2 years ago by PinkBrainPlanHow-tos2 comments – viewed 14,010 times – ( +1 )
As I'm new to the framework (2 weeks) - I tried to build a functionallity I already use a lot in my old framework (PRADO). This means combining a GridView with a form. And this in one page, what allows you to select a record from the grid and view the values in the same page without jumping to a new page.
tags: Ajax, Form, CGridView

Change buttons on our CGridView extending yii

Created about a year ago by sensorarioTips4 comments – viewed 13,678 times – ( +9 )
In this tip, I'll help you to change in few second buttons of your CGridView. I hope you like it =).

How to filter CGridView with From Date and To Date datepicker

Created 11 months ago by kiran sharmaTips10 comments – viewed 13,658 times – ( +11 )
This artical is related to allow user to filter CGridView with date range using datepicker on submit button. Here I use Yii Cookie to preserve date in datepicker textbox after submitting the form.

Create custom button button with AJAX function in CGridView

Created 7 months ago by nkdHow-tos0 comments – viewed 9,758 times – ( +5 )
CButtonColumn in CGridView can be customised to include user built buttons. To learn a great deal about including custom buttons, read this excellent wiki. This tutorial will show how to call an action from one custom button using AJAX instead of regular GET calls.

Customize CGridView columns directly in your view

Created 9 months ago by clapasTips2 comments – viewed 9,542 times – ( +2 / -1 )
You usually take a model instance passed into your view to provide data to a CGridView in this way: