Wiki

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

Display an AJAX tree from your DB using CTreeView

Created 4 years ago by Fran├žois GannazTutorials10 comments – viewed 46,756 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 51,135 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 85,583 times – ( +11 / -4 ) – version 1.1
hi guys, Here I'm going to give you a working example of ajax form submiting in Yii.

Render a form in a Modal Popup using ajax

Created 5 months ago by thiagoc7How-tos9 comments – viewed 12,894 times – ( +6 ) – version 2.0
Nowdays is very common webapps use this feature. With Yii2 this is very easy.
tags: yii2, AJAX, modal

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 40,011 times – ( +22 ) – 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,385 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,776 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,429 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 6 months ago by KonApazHow-tos6 comments – viewed 5,362 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,952 times – ( +15 ) – version 1.1
This is based on this article.