Wiki

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

How to add ajax-loading indicators

Updated 4 years ago by Yang HeTutorials5 comments – viewed 53,739 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 4 years ago by xrxHow-tos17 comments – viewed 39,272 times – ( +25 ) – 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 4 years ago by Fran├žois GannazTutorials10 comments – viewed 55,232 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

Using loginRequiredAjaxResponse to solve ajax session timeout

Updated 4 years ago by RutgerHow-tos3 comments – viewed 25,449 times – ( +13 ) – version 1.1
This solution requires Yii 1.1.9 or above

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

Updated 4 years ago by Darwin WenHow-tos9 comments – viewed 53,207 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.

Avoiding duplicate script download when using CActiveForm on Ajax calls

Updated 5 years ago by Maurizio Domba CerinTutorials2 comments – viewed 18,965 times – ( +12 / -1 ) – version 1.1
Sometimes the active form we wish to use to edit/add a new element on our database is too small and we believe that is much better to use an AJAX'ed dialog/slide form rather than reloading the page to just display one or two fields.

Update/delete model with CJuiDialog (works in CGridView)

Updated 5 years ago by ifdatticTutorials6 comments – viewed 65,454 times – ( +15 ) – version 1.1
This is based on this article.

CJuiDialog and AjaxSubmitButton

Updated 5 years ago by phazeiTutorials22 comments – viewed 100,068 times – ( +37 / -2 ) – 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

Using CJuiDialog to edit rows in a CGridView

Updated 5 years ago by Russell EnglandTips8 comments – viewed 32,503 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.

CListView AJAX filtering

Updated 5 years ago by DragaTutorials17 comments – viewed 61,225 times – ( +17 ) – 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