Wiki

Articles tagged with "ajax", sorted by commentsX
Displaying 11-20 of 50 result(s).

Display an AJAX tree from your DB using CTreeView

Created 4 years ago by Fran├žois GannazTutorials10 comments – viewed 46,162 times – ( +21 ) – version 1.1
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

An Easy Solution for Dependent dropDownList Using AJAX

Created about a year ago by mrsTips10 comments – viewed 49,319 times – ( +11 / -1 ) – version 1.1
Sometimes new Yii guys face problem to manage dependent dropDownList using AJAX. I am going to discuss an easy solution about this issue.

Ajax form submiting in Yii

Created 2 years ago by sirin kTutorials9 comments – viewed 82,491 times – ( +11 / -4 ) – version 1.1
hi guys, Here I'm going to give you a working example of ajax form submiting in Yii.

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

Created 3 years ago by RusAlexHow-tos9 comments – viewed 39,168 times – ( +21 ) – version 1.1
With Yii you can use one CActiveForm for collecting data for two or more models with ajax validation and client validation.

Using CJuiDialog to edit rows in a CGridView

Created 3 years ago by Russell EnglandTips8 comments – viewed 27,070 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.

Popup AJAX DialogBox without any extension

Created about a year ago by KonApazHow-tos6 comments – viewed 12,286 times – ( +7 / -1 )
In this wiki I explain how to show a default popup dialogbox (like Gii does) using an existing module.

Yii HMVC

Created about a year ago by ezekielnoobHow-tos6 comments – viewed 7,097 times – ( +5 / -1 )
Right now we can use widgets + action provider like in this tutorial: How to use a Widget as an Action Provider

Update CGridview row separately using ajax request

Created 5 months ago by KonApazHow-tos6 comments – viewed 4,380 times – ( +5 ) – version 1.1
There are cases you want to update a record on CGridview directly

Update/delete model with CJuiDialog (works in CGridView)

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

Avoiding duplicate script download when using Ajax calls to render different Views

Created 3 years ago by Antonio RamirezTips6 comments – viewed 18,237 times – ( +13 / -1 ) – version 1.1
I had to partially render two types of views, depending on user selection. Wanted to display a GRID or a LIST style with an event that AJAX'ed new contents and update a layer with them.
tags: tutorial, AJAX, views