Wiki

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

Searching and sorting by related model in CGridView

Updated 3 months ago by KonApazTutorials74 comments – viewed 121,870 times – ( +109 ) – version 1.1
Lets say we have two models and relation between them:

Update specific cgridview html row after AJAX request

Updated 3 months ago by KonApazHow-tos3 comments – viewed 2,886 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,360 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,232 times – ( +3 ) – version 1.1
Hi Friends,

Insert a model record using CGridview

Updated 3 months ago by KonApazHow-tos0 comments – viewed 1,945 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,447 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,272 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,447 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,073 times – ( +10 ) – version 1.1
Everyone have seen a multilayer menu in several CMS