Wiki articles tagged with "AJAX"

Showing 1-5 of 5 items.

Batch Gridview data ajax send splitted in chunks displaying bootstrap Progress bar

Created 4 years ago by toaster, updated 4 years ago by toaster.

The scenario in which this wiki can be useful is when you have to send an (huge) array of model ids and perform a time consuming computation with it like linking every model to other models. The idea is to split the array into smaller arrays and perform sequential ajax requests, showing the calculation progress using a [Bootstrap Progress bar](https://www.yiiframework.com/extension/yiisoft/yii2-bo...

8 0
2 followers
Viewed: 30 856 times
Version: 2.0
Category: Tutorials

A Single Page with a List and a Detail

Created 6 years ago by softark, updated 6 years ago by Patrick Jones.

The CRUD generator of Gii has done a wonderful job for you, and you already have a list of items in the "index" page and a detailed view of a specified item in the "view" page.

3 0
5 followers
Viewed: 45 855 times
Version: 2.0
Category: How-tos

Render Form in popup via AJAX (Create and Update) with ajax validation & Also load any page via ajax Yii 2.0 (2.3)

Created 7 years ago by skworden, updated 4 years ago by Yii3.

There are a few issues with the other solutions I originally used that I found from other wikis. I address the issues I had in this much simpler and shorter way. I am also going to explain what is going into way more detail than others to help people understand what's going on.

21 0
28 followers
Viewed: 239 683 times
Version: 2.0
Category: How-tos

Overcoming removal of client helpers (e.g. ajaxLink) and ClientScript in Yii 2.0

Created 8 years ago by Kartik V, updated 8 years ago by Kartik V.

Alternatively, inline assets (JS/CSS) can be registered at runtime from within the View. For example you can clearly simulate the ajaxLink feature using a inline javascript. Its however recommended if you can merge where possible, client code (JS/CSS) into separate JS/CSS files and loaded through the AssetBundle. Note there is no more need of a CClientScript anymore:

1 2
41 followers
Viewed: 41 877 times
Version: 2.0
Category: FAQs
10 0
15 followers
Viewed: 39 891 times
Version: all
Category: Others