Wiki

Articles tagged with "ajax", sorted by date (updated)X
Displaying 31-40 of 51 result(s).

CGridView: Adding behaviors from configuration, and template items from behaviors to CGridView

Updated about a year ago by le_topTips0 comments – viewed 6,962 times – ( +5 ) – version 1.1
Changing the way a CGridView is rendered from the configuration file, or through behaviors specified at the moment it is used, is handy to extend a CGridView without creating tons of different classes for it. I am surprised that this is not in the default implementation, so I made my default CGridView implementation.

Open Dialog from ajax content

Updated about a year ago by TouzasHow-tos1 comment – viewed 12,289 times – ( +4 / -1 ) – version 1.1
This tutorial will show you how to create Ajax dialog. It's very simple code.

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

Updated 2 years ago by Antonio RamirezTips6 comments – viewed 19,053 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

Elementary introduction to using jQuery ajax and the yii framework

Updated 2 years ago by François GannazHow-tos4 comments – viewed 28,994 times – ( +7 ) – version 1.1
In doing internet searches trying to learn how to incorporated ajax into web pages generated by the yii framework I noticed that there seems to be a lot of confusion. I worry that too-clever hacks will be broken in upgrades of the framework.
tags: AJAX

Ajax form submiting in Yii

Updated 2 years ago by sirin kTutorials10 comments – viewed 92,207 times – ( +13 / -4 ) – version 1.1
hi guys, Here I'm going to give you a working example of ajax form submiting in Yii.

How to render a view in Fancybox using ajax

Updated 2 years ago by 张 迪How-tos1 comment – viewed 18,559 times – ( +7 ) – version 1.1
Sometimes you want to render a view in Fancybox.
tags: fancybox, ajax, views

Update content in AJAX with renderPartial

Updated 2 years ago by hairylunchTutorials15 comments – viewed 195,742 times – ( +59 ) – version 1.1
The easiest way to update content in AJAX is to use the renderPartial method.
tags: AJAX

How to add ajax-loading indicators

Updated 2 years ago by Yang HeTutorials5 comments – viewed 44,355 times – ( +27 ) – version 1.1
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

Avoiding rendering entire page when using CGridView and CListView via AJAX

Updated 2 years ago by xrxHow-tos17 comments – viewed 34,089 times – ( +23 ) – version 1.1
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.

Display an AJAX tree from your DB using CTreeView

Updated 2 years ago by François GannazTutorials10 comments – viewed 48,491 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