Wiki articles in category How-tos tagged with "AJAX"

Showing 21-24 of 24 items.

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

Created 14 years ago by RusAlex RusAlex, updated 14 years ago by Darwin Wen Darwin Wen.

With Yii you can use one CActiveForm for collecting data for two or more models with ajax validation and client validation.

16 0
33 followers
Viewed: 76 774 times
Version: 1.1
Category: How-tos

Updating fields on a form with Ajax and Json

Created 14 years ago by Russell England Russell England, updated 14 years ago by Russell England Russell England.

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.

10 0
22 followers
Viewed: 98 974 times
Version: 1.1
Category: How-tos

Avoiding rendering entire page when using CGridView and CListView via AJAX

Created 14 years ago by xrx xrx, updated 13 years ago by xrx xrx.

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.

23 0
29 followers
Viewed: 55 003 times
Version: 1.1
Category: How-tos

CGridView and AjaxForm Connect

Created 15 years ago by PinkBrainPlan PinkBrainPlan, updated 15 years ago by PinkBrainPlan PinkBrainPlan.

<?php $this->widget('zii.widgets.grid.CGridView', array(

'dataProvider' => $dataprovider,
'id'=>'recipient_table',
    'selectionChanged'=>'updateEditForm',
'columns' => array(
	'rec_id',
            'org.nachname',
            'org.vorname',
            'org_id',
            array(
                'class'=>'CButtonColumn',
                'template'=>'{...
1 0
10 followers
Viewed: 29 926 times
Version: 1.1
Category: How-tos