Wiki

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

Avoiding rendering entire page when using CGridView and CListView via AJAX

Updated 4 years ago by xrxHow-tos17 comments – viewed 38,583 times – ( +24 ) – 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 54,543 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 24,759 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 51,997 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 4 years ago by Maurizio Domba CerinTutorials2 comments – viewed 18,599 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 4 years ago by ifdatticTutorials6 comments – viewed 64,428 times – ( +15 ) – version 1.1
This is based on this article.

CJuiDialog and AjaxSubmitButton

Updated 4 years ago by phazeiTutorials22 comments – viewed 98,962 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,130 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 60,010 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

Updating fields on a form with Ajax and Json

Updated 5 years ago by Russell EnglandHow-tos4 comments – viewed 53,813 times – ( +12 / -1 ) – 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.