Wiki

Articles tagged with "ajax", sorted by commentsX
Displaying 21-27 of 27 result(s).

Javascript and AJAX with Yii

Created 8 months ago by François GannazHow-tos2 comments – viewed 35,805 times – ( +28 )
This page intends to provide an exhaustive guide of how to use Javascript (JS) in Yii. It does not explain how to learn coding in JS, but how to deal with it "the Yii way".
tags: javascript, AJAX

CGridView and AjaxForm Connect

Created 2 years ago by PinkBrainPlanHow-tos2 comments – viewed 14,327 times – ( +1 )
As I'm new to the framework (2 weeks) - I tried to build a functionallity I already use a lot in my old framework (PRADO). This means combining a GridView with a form. And this in one page, what allows you to select a record from the grid and view the values in the same page without jumping to a new page.
tags: Ajax, Form, CGridView

Avoiding duplicate script download when using CActiveForm on Ajax calls

Created about a year ago by Antonio RamirezTutorials2 comments – viewed 10,433 times – ( +11 / -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.

Ajax update

Created 2 years ago by zaccariaTips1 comment – viewed 33,648 times – ( +20 / -2 )
Often happens to have the need of change a part of the page with ajax.
tags: AJAX

How to render a view in Fancybox using ajax

Created 11 months ago by rix.rix.How-tos1 comment – viewed 10,585 times – ( +5 / -1 )
Sometimes you want to render a view in Fancybox.
tags: fancybox, ajax, views

Open Dialog from ajax content

Created 3 months ago by TouzasHow-tos1 comment – viewed 4,629 times – ( +3 / -1 )
This tutorial will show you how to create Ajax dialog. It's very simple code.

CGridView: Adding behaviors from configuration, and template items from behaviors to CGridView

Created 2 months ago by le_topTips0 comments – viewed 2,808 times – ( +5 )
Changing the way a CGridView is rendered from the configuration file, or through behaviors specified at the moment it is used, is handy to extend a CGridView without creating tons of different classes for it. I am surprised that this is not in the default implementation, so I made my default CGridView implementation.