Wiki articles tagged with "widget"

Showing 1-6 of 6 items.

A simple widget - jump2link

Created 9 years ago by Scott_Huang Scott_Huang, updated 9 years ago by Scott_Huang Scott_Huang.

namespace app\components;

0 0
1 follower
Viewed: 14 747 times
Version: 2.0
Category: Tutorials

Managing a star rating with the StarRating widget in Yii 2

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

In Yii 1.x, there was a built in widget CStarRating based on the jquery star rating plugin. There exists no prebuilt solution in Yii2, however the same concepts can be extended using any jquery plugin.

1 3
41 followers
Viewed: 26 350 times
Version: 2.0
Category: How-tos

Managing your nested dropdown dependency with DepDrop widget

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

If you are coming over to Yii 2 from Yii 1.x, you may have already read this useful wiki for creating dependent dropdowns. You can use a similar approach in Yii 2 to do the same. But if you are looking at a prebuilt solution that helps you manage it easier, read along.

2 3
42 followers
Viewed: 90 853 times
Version: 2.0
Category: Tutorials

How to store array/widget configuration to the database with config validation rules

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

Note the tag {{homeUrl}} will be dynamically replaced at runtime.

2 3
41 followers
Viewed: 26 423 times
Version: 2.0
Category: Tutorials
0 2
40 followers
Viewed: 22 859 times
Version: 2.0
Category: How-tos

How to use GridView with AJAX

Created 11 years ago by Antonio Ramirez Antonio Ramirez, updated 7 years ago by CeBe CeBe.

With the adoption of PJax on Yii2 things  have change quite a bit with GridView when it comes to work with them in AJAX mode. It will probably be confusing at the beginning, but then you will soon realize how powerful the new approach is.

10 0
15 followers
Viewed: 88 647 times
Version: 2.0
Category: How-tos
Tags: pjax, widget, yii2