Articles tagged with "cgridview", sorted by date (updated)X
Displaying 61-65 of 65 result(s).

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

Updated 6 years ago by jwernerTips1 comment – viewed 29,876 times – ( +10 / -1 ) – version 1.1
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.

Using CJuiDialog to edit rows in a CGridView

Updated 6 years ago by Russell EnglandTips8 comments – viewed 34,848 times – ( +4 / -2 ) – version 1.1
I have a CGridView with a list of clients/events. For each row (EventClient) I wanted a quick edit dialog.

Keeping a running total in a CGridView

Updated 6 years ago by tydeas_drHow-tos4 comments – viewed 32,802 times – ( +24 / -1 ) – version 1.1
This tip created in conjunction with IRC #yii channel users emilsedgh and tydeas - thanks!
tags: CGridView

CGridView and AjaxForm Connect

Updated 6 years ago by PinkBrainPlanHow-tos2 comments – viewed 22,176 times – ( +1 / -1 ) – version 1.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

Using standard filters in CGridView custom fields

Updated 7 years ago by jwernerHow-tos4 comments – viewed 64,819 times – ( +17 / -1 ) – version 1.1
In this article I'll try to explain how to use standard quick search fields in CGridView with customized columns.For example: We have a record in a database with field switch having 0 or 1 values. After that we want a user to see on or off instead 1 or 0. So we do the usual thing: