Wiki

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

How to add ajax-loading indicators

Updated 4 years ago by Yang HeTutorials5 comments – viewed 56,260 times – ( +27 / -1 ) – 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 40,784 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.

Display an AJAX tree from your DB using CTreeView

Updated 5 years ago by Fran├žois GannazTutorials10 comments – viewed 56,917 times – ( +21 / -1 ) – 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

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

Updated 5 years ago by Darwin WenHow-tos9 comments – viewed 55,413 times – ( +22 / -1 ) – 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 19,810 times – ( +12 / -2 ) – 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 67,230 times – ( +15 / -1 ) – version 1.1
This is based on this article.

CJuiDialog and AjaxSubmitButton

Updated 5 years ago by phazeiTutorials22 comments – viewed 102,443 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

Using CJuiDialog to edit rows in a CGridView

Updated 5 years ago by Russell EnglandTips8 comments – viewed 33,474 times – ( +4 / -2 ) – 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 6 years ago by DragaTutorials17 comments – viewed 63,274 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

Updating fields on a form with Ajax and Json

Updated 6 years ago by Russell EnglandHow-tos4 comments – viewed 56,535 times – ( +12 / -2 ) – version 1.1
I'm developing a website that has an option to look up a car's registration number via SOAP and return additional details such as make, model, colour etc.