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

Display an AJAX tree from your DB using CTreeView

Created 5 years ago by Fran├žois GannazTutorials10 comments – viewed 51,747 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 2 years ago by mrsTips10 comments – viewed 66,697 times – ( +14 / -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.

Update CGridview row separately using ajax request

Created about a year ago by Kostas Apazidis (KonApaz)How-tos9 comments – viewed 10,081 times – ( +6 ) – version 1.1
There are cases you want to update a record on CGridview directly

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

Created 4 years ago by RusAlexHow-tos9 comments – viewed 47,296 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.

Ajax form submiting in Yii

Created 3 years ago by sirin kTutorials8 comments – viewed 108,031 times – ( +13 / -5 ) – version 1.1
hi guys, Here I'm going to give you a working example of ajax form submiting in Yii.

Using CJuiDialog to edit rows in a CGridView

Created 4 years ago by Russell EnglandTips8 comments – viewed 30,400 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 2 years ago by Kostas Apazidis (KonApaz)How-tos6 comments – viewed 16,281 times – ( +8 / -1 )
In this wiki I explain how to show a default popup dialogbox (like Gii does) using an existing module.


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

Render Form in popup via AJAX (Create and Update) with ajax validation & Also load any page via ajax Yii 2.0 (2.3)

Created 5 months ago by skwordenHow-tos6 comments – viewed 21,457 times – ( +14 ) – version 2.0
There are a few issues with the other solutions I originally used that I found from other wikis. I address the issues I had in this much simpler and shorter way. I am also going to explain what is going into way more detail than others to help people understand what's going on.

Date Picker by examples

Created about a year ago by InterboyHow-tos6 comments – viewed 69,291 times – ( +10 / -2 ) – version 1.1
CJuiDatePicker displays a datepicker. CJuiDatePicker encapsulates the JUI datepicker plugin.