Wiki

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

CJuiDialog for create new model

Created 2 years ago by zaccariaTutorials37 comments – viewed 50,256 times – ( +55 )
In this tutorial we will learn how to realize a create interface using a dialog.

Creating a dependent dropdown

Created 4 years ago by dalipTutorials20 comments – viewed 139,218 times – ( +84 / -2 )
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

CJuiDialog and AjaxSubmitButton

Created 3 years ago by tydeas_drTutorials18 comments – viewed 60,157 times – ( +32 / -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

CListView AJAX filtering

Created 2 years ago by DragaTutorials14 comments – viewed 28,496 times – ( +14 )
This tutorial shows how to filter CListView items by AJAX, and it's compatible with disabled JavaScript users In my case this has been done to filter users list

Avoiding rendering entire page when using CGridView and CListView via AJAX

Created 2 years ago by xrxHow-tos13 comments – viewed 22,312 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.

CGridView, CListView and CActiveDataProvider

Created 8 months ago by softarkTutorials11 comments – viewed 32,438 times – ( +28 )
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.

Display an AJAX tree from your DB using CTreeView

Created 3 years ago by François GannazTutorials9 comments – viewed 26,975 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

Update content in AJAX with renderPartial

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

How to use single form to collect data for two or more models (CActiveForm and Ajax Validation edition)

Created about a year ago by RusAlexHow-tos8 comments – viewed 23,877 times – ( +16 )
With Yii you can use one CActiveForm for collecting data for two or more models with ajax validation and client validation.