Wiki

Sorted by date (updated)X
Displaying 81-90 of 687 result(s).

Update specific cgridview html row after AJAX request

Updated 2 months ago by KonApazHow-tos3 comments – viewed 1,902 times – ( +1 ) – 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)

Save and Display Date/Time Fields in different formats in Yii2

Updated 2 months ago by Kartik VHow-tos4 comments – viewed 2,193 times – ( +24 ) – version 2.0
You would find having such a need in most Yii Projects. Your database needs a specific format to store date fields, while you may want to display it in different formats to the users on forms and other views.

How to change the confirmation message on admingridview button and call a ajax..Dynamic

Updated 2 months ago by yiimTips0 comments – viewed 6,700 times – ( +3 ) – version 1.1
Hi Friends,

Insert a model record using CGridview

Updated 2 months ago by KonApazHow-tos0 comments – viewed 1,424 times – ( +1 ) – version 1.1
CGridview displays existent rows of the table (using DataProvider)

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

Updated 2 months ago by KonApazHow-tos0 comments – viewed 1,708 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

Filter & Sort by calculated/related fields in GridView Yii 2.0

Updated 2 months ago by Kartik VTutorials18 comments – viewed 10,123 times – ( +29 / -4 ) – version 2.0
This wiki explains how to add calculated fields into your Yii Framework 2.0 gridview with filtering and sorting.

Generate CTreeview from database table and update a model

Updated 2 months ago by KonApazHow-tos0 comments – viewed 1,185 times – ( +1 ) – version 1.1
Suppose we want to set a category to product (or an item in general term), Also suppose categories has sub-categories (multi-level)

Generate a multi-lever array sub-category for a menu

Updated 2 months ago by KonApazHow-tos7 comments – viewed 9,516 times – ( +10 ) – version 1.1
Everyone have seen a multilayer menu in several CMS

Visualization tree-multi subcategories as listbox or dropdownlist

Updated 2 months ago by KonApazHow-tos4 comments – viewed 8,371 times – ( +4 ) – version 1.1
Do you want to make a listbox or dropdownlist to select one or more categories or sub categories ?