Wiki

Sorted by date (updated)X
Displaying 91-100 of 688 result(s).

Update specific cgridview html row after AJAX request

Updated 3 months ago by KonApazHow-tos3 comments – viewed 2,797 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 3 months ago by Kartik VHow-tos6 comments – viewed 3,258 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 3 months ago by yiimTips0 comments – viewed 7,189 times – ( +3 ) – version 1.1
Hi Friends,

Insert a model record using CGridview

Updated 3 months ago by KonApazHow-tos0 comments – viewed 1,898 times – ( +2 ) – 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 3 months ago by KonApazHow-tos0 comments – viewed 2,388 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 3 months ago by Kartik VTutorials18 comments – viewed 12,138 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 3 months ago by KonApazHow-tos0 comments – viewed 1,428 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 3 months ago by KonApazHow-tos7 comments – viewed 10,045 times – ( +10 ) – version 1.1
Everyone have seen a multilayer menu in several CMS

Visualization tree-multi subcategories as listbox or dropdownlist

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