Wiki

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

Dynamic parent and child CGridView on single view. Using $.ajax to update child gridview via controller, after row in parent gridview was clicked.

Updated 2 years ago by Gerhard LiebenbergTutorials20 comments – viewed 85,671 times – ( +28 / -1 ) – version 1.1
This wiki is a step-by-step example explaining how the controller, model and the view's CGridView work together. It explains simple things - as well as more complex things that you will anyway quickly have to know. So, even if you don't use dynamic gridviews, take a morning off and thoroughly work through this tutorial. It should save you lots of struggling.

Yii HMVC

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

How to Display tooltp(qtip) on CGridview dynamic

Updated 3 years ago by softarkTips1 comment – viewed 7,909 times – ( -1 )
Hi Friends,

CGridView, CListView and CActiveDataProvider

Updated 3 years ago by softarkTutorials22 comments – viewed 111,512 times – ( +46 ) – version 1.1
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.

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

Updated 3 years ago by le_topTips0 comments – viewed 8,709 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 3 years ago by TouzasHow-tos1 comment – viewed 15,484 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 3 years ago by Antonio RamirezTips6 comments – viewed 22,344 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 3 years ago by François GannazHow-tos4 comments – viewed 36,144 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

How to render a view in Fancybox using ajax

Updated 4 years ago by 张 迪How-tos1 comment – viewed 22,004 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 4 years ago by hairylunchTutorials17 comments – viewed 243,655 times – ( +60 ) – version 1.1
The easiest way to update content in AJAX is to use the renderPartial method.
tags: AJAX