Wiki

Articles tagged with "items"X
Displaying 1-3 of 3 result(s).

Set a menu - reusable code

Created 5 months ago by KonApazTips0 comments – viewed 3,057 times – ( +1 )
As we know Using crud generator creates menu items in view files (for each view file have a varius menu items)

Create a custom menu using CMenu data-items (flat or tree structure)

Created 6 months ago by KonApazHow-tos0 comments – viewed 6,952 times – ( +4 )
There are cases that you want more control to your menu Suppose you want a specific menu with complex css, layout, images. also you want to add extra content,html,css,javascript etc it run time foreach submenu item by conditions.

CGridView: Adding behaviors from configuration, and template items from behaviors to CGridView

Created about a year ago by le_topTips0 comments – viewed 5,831 times – ( +5 ) – version 1.1
Changing the way a CGridView is rendered from the configuration file, or through behaviors specified at the moment it is used, is handy to extend a CGridView without creating tons of different classes for it. I am surprised that this is not in the default implementation, so I made my default CGridView implementation.