Wiki

Articles tagged with "cgridview"X
Displaying 51-60 of 62 result(s).

Creating a jQueryUI Sortable CGridView

Created 2 years ago by blindMoeHow-tos22 comments – viewed 29,164 times – ( +44 / -1 ) – version 1.1
I have had to do this a couple of times now so I figured I would share it with the community. I am going to keep this short because I really hope that you are familiar with jQueryUI's Sortable class before starting this tutorial.

Using filters with CGridView and CArrayDataProvider

Created 2 years ago by marcovtwoutHow-tos30 comments – viewed 45,378 times – ( +20 ) – version 1.1
Using filters on CGridView with CActiveDataProvider is easy, but with CArrayDataProvider it is a bit tricky.

Filter / Search with CListView

Created 2 years ago by JohnPollardHow-tos7 comments – viewed 30,291 times – ( +26 ) – version 1.1
This is what I did. Its the EASIEST solution that I know of. I just reused the advanced search done in CGridView.

Update/delete model with CJuiDialog (works in CGridView)

Created 3 years ago by ifdatticTutorials6 comments – viewed 52,832 times – ( +15 ) – version 1.1
This is based on this article.

How to show ajax delete status in CGridView like flash messages

Created 3 years ago by hasanaviHow-tos12 comments – viewed 32,460 times – ( +21 ) – version 1.1
I've seen many tickets regarding how to show friendly delete confirmation using CGridView's CButtonColumn in ajax request. If you are using relational database, after producing CRUD functionality when you try to delete a record in ajax mode which has child record it can't be deleted and you can see the ajax loader forever. By this way you can't show the users if a record has been successfully deleted or if there are some problem in flash style (setFlash() / getFlash())

Using CJuiDialog to edit rows in a CGridView

Created 3 years ago by Russell EnglandTips8 comments – viewed 26,636 times – ( +4 / -1 ) – version 1.1
I have a CGridView with a list of clients/events. For each row (EventClient) I wanted a quick edit dialog.

Avoiding rendering entire page when using CGridView and CListView via AJAX

Created 3 years ago by xrxHow-tos16 comments – viewed 32,084 times – ( +23 ) – version 1.1
Since I used CGridView for a first time, I didn't like how it handled operations like sorting, filtering, changing page and etc using AJAX.

CGridView and AjaxForm Connect

Created 3 years ago by PinkBrainPlanHow-tos2 comments – viewed 17,943 times – ( +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

Keeping a running total in a CGridView

Created 3 years ago by Steve FriedlHow-tos4 comments – viewed 22,009 times – ( +24 ) – version 1.1
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 3 years ago by MukkeTips1 comment – viewed 21,975 times – ( +10 ) – 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.