Wiki

Articles tagged with "ajax", sorted by commentsX
Displaying 1-10 of 52 result(s).

CJuiDialog to create new model

Created 6 years ago by zaccariaTutorials54 comments – viewed 98,565 times – ( +69 / -1 ) – version 1.1
In this tutorial we will learn how to realize a create interface using a dialog.

Creating a dependent dropdown

Created 8 years ago by dalipTutorials53 comments – viewed 333,019 times – ( +112 / -4 ) – version 1.1
Often you'll need a form with two dropdowns, and one dropdown's values will be dependent on the value of the other dropdown. Using Yii's built-in AJAX functionality you can create such a dropdown.

CJuiDialog and AjaxSubmitButton

Created 7 years ago by tydeas_drTutorials22 comments – viewed 103,799 times – ( +37 / -3 ) – version 1.1
Hello ppl. Even though i have a small experience with yii I though of writing this to help people which want to do something similar.
tags: AJAX

CGridView, CListView and CActiveDataProvider

Created 5 years ago by softarkTutorials22 comments – viewed 121,829 times – ( +46 / -1 ) – 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.

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

Created 5 years ago by Gerhard LiebenbergTutorials20 comments – viewed 93,631 times – ( +28 / -2 ) – 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.

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

Created 2 years ago by skwordenHow-tos18 comments – viewed 137,122 times – ( +28 / -1 ) – 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.

Update content in AJAX with renderPartial

Created 8 years ago by BurzumTutorials17 comments – viewed 265,553 times – ( +60 / -1 ) – version 1.1
The easiest way to update content in AJAX is to use the renderPartial method.
tags: AJAX

Avoiding rendering entire page when using CGridView and CListView via AJAX

Created 6 years ago by xrxHow-tos17 comments – viewed 41,756 times – ( +25 / -1 ) – 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.

CListView AJAX filtering

Created 6 years ago by DragaTutorials17 comments – viewed 64,420 times – ( +17 / -1 ) – version 1.1
This tutorial shows how to filter CListView items by AJAX, and it's compatible with disabled JavaScript users In my case this has been done to filter users list

By Example: CHtml

Created 8 years ago by jonahTutorials15 comments – viewed 854,192 times – ( +117 / -2 ) – version 1.1
"By Example" cookbook pages will provide coding examples for many of the commonly used classes within Yii. We will try to provide as many usage examples as possible for keep these pages as helpful as possible.