Wiki

Articles tagged with "ajax", sorted by ratingX
Displaying 1-10 of 27 result(s).

CJuiDialog for create new model

Created 2 years ago by zaccariaTutorials40 comments – viewed 51,848 times – ( +57 )
In this tutorial we will learn how to realize a create interface using a dialog.

Update content in AJAX with renderPartial

Created 3 years ago by BurzumTutorials8 comments – viewed 91,422 times – ( +50 )
The easiest way to update content in AJAX is to use the renderPartial method.
tags: AJAX

Creating a dependent dropdown

Created 4 years ago by dalipTutorials22 comments – viewed 143,968 times – ( +88 / -3 )
Often you'll need a form with two dropdowns, and one dropdown's values will be dependent on the value of the other dropdown. Using Yii's built-in AJAX functionality you can create such a dropdown.
tags: AJAX

CGridView, CListView and CActiveDataProvider

Created 9 months ago by softarkTutorials11 comments – viewed 35,052 times – ( +30 )
CGridView (or CListView) together with CActiveDataProvider is a very powerful combination of the built-in tools of Yii. But how do they work together to accomplish their fantastic functions? And what are you expected to do to use them and to customize their behaviors? This article explains the very basics of them.

Javascript and AJAX with Yii

Created 8 months ago by François GannazHow-tos2 comments – viewed 35,897 times – ( +28 )
This page intends to provide an exhaustive guide of how to use Javascript (JS) in Yii. It does not explain how to learn coding in JS, but how to deal with it "the Yii way".
tags: javascript, AJAX

How to add ajax-loading indicators

Created 3 years ago by schmunkTutorials5 comments – viewed 25,516 times – ( +25 )
With yii you're able to create ajax requests and updates easily. But most times you always want to show a loading indicatior to your user.
tags: AJAX

Dynamic parent and child CGridView on single view. Using $.ajax to update child gridview via controller, after row in parent gridview was clicked.

Created about a year ago by Gerhard LiebenbergTutorials17 comments – viewed 29,358 times – ( +21 )
This wiki is a step-by-step example explaining how the controller, model and the view's CGridView work together. It explains simple things - as well as more complex things that you will anyway quickly have to know. So, even if you don't use dynamic gridviews, take a morning off and thoroughly work through this tutorial. It should save you lots of struggling.

Display an AJAX tree from your DB using CTreeView

Created 3 years ago by François GannazTutorials9 comments – viewed 27,808 times – ( +20 )
This example uses a MySQL DB with a table named tree with the fields id, name, and parent_id. The parent_id will be NULL for root elements. The SQL is kept simple (no autoinc, no FK, etc).
tags: AJAX, CTreeView

Avoiding rendering entire page when using CGridView and CListView via AJAX

Created 2 years ago by xrxHow-tos13 comments – viewed 22,966 times – ( +20 )
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.

CJuiDialog and AjaxSubmitButton

Created 3 years ago by tydeas_drTutorials18 comments – viewed 61,882 times – ( +33 / -2 )
Hello ppl. Even though i have a small experience with yii I though of writing this to help people which want to do something similar.
tags: AJAX