Wiki

Sorted by viewsX
Displaying 551-560 of 724 result(s).

Update specific cgridview html row after AJAX request

Created 8 months ago by Kostas Apazidis (KonApaz)How-tos3 comments – viewed 5,974 times – ( +2 ) – version 1.1
After of model update (successfull or not) throught CGridView (check the below link) you probably need to updates the specific row html in cgridview (not entire cgridview)

Handling tabular data loading and validation in Yii 2

Created 8 months ago by Kartik VTutorials1 comment – viewed 5,967 times – ( +32 / -4 ) – version 2.0
How do you read and handle tabular data submission via form in Yii framework 2.0? Sometimes we want to collect user input in a batch mode. That is, the user can enter the information for multiple model instances and submit them all at once. We call this tabular input because the input fields are often presented in an HTML table.

Collaborative software with git

Created 2 years ago by sensorarioTutorials0 comments – viewed 5,959 times – ( +9 ) – version 1.1
The most difficult thing in a big project, is to manage conflicts with files modified by others users. Git can do this work for us.

CjuiDatepicker

Created about a year ago by hiral darjiTips1 comment – viewed 5,880 times – ( +3 ) – version 1.1
If you have two datepicker in one form and you want that a date of from date shold be minimum date of todate then put following code in Cjuidatepicker widget options array:

Setting static modules' properties in config

Created 2 years ago by Alexander PalamarchukTips0 comments – viewed 5,805 times – ( +2 / -2 ) – version 1.1
You may face a situation when you need to access to a configurable module's property from everywhere and you don't have an instance of this module's class.
tags: config, module

Instanciar clase hija basada en campo de modelo padre (CActiveRecord)

Created 2 years ago by robregonmHow-tos0 comments – viewed 5,791 times – ( +2 ) – version 1.1
[EN] [ES]

Login Form With email or Whatever

Created 9 months ago by nabil abdoualiHow-tos1 comment – viewed 5,789 times – ( -2 ) – version 1.1
Here is my solution to login with email or anything else This update works with database mysql You must generate the user model with GII

Update related models of a model using listBox and checkBoxList in the form

Created 8 months ago by Kostas Apazidis (KonApaz)How-tos0 comments – viewed 5,782 times – ( +2 ) – version 1.1
Suppose you want to have a list in Category with its related products and you want to updates the list (removing or insert product items) This wiki show us how to do that

Pjax on ActiveForm and GridView - Yii2

Created 2 months ago by SreenadhHow-tos3 comments – viewed 5,636 times – ( +3 ) – version 2.0
Here is a example on how to use Pjax with GridView (yii\grid\GridView) and ActiveForm (yii\widgets\ActiveForm) widgets in Yii2.

Relational data fields display and edit with the yii2-detail-view extension

Created 8 months ago by Kartik VTutorials0 comments – viewed 5,615 times – ( +32 ) – version 2.0
If you have read this wiki you would be aware of the yii2-detail-view extension and how it offers you an easy way to EDIT and VIEW your model data, toggle these modes, and other features. You can read the extension documentation and/or view a demo of this extension, to understand usage.