Wiki articles tagged with "customize"

Showing 1-5 of 5 items.

How to customize your grid columns visible and order by user themselves

Created 7 years ago by Scott_Huang, updated 7 years ago by Scott_Huang.

The export to excel function will affected by the final resorted columns in case you use my export grid to excel extends hzlexportgrid too, Since that export extention just depends on the grid columns configs, and that columns been customized by user themselves just now.

0 0
1 follower
Viewed: 22 583 times
Version: 1.1
Category: How-tos

Yii 1.1: How To add id or class to CMenu items ?

Created 9 years ago by Louis Gac, updated 9 years ago by Louis Gac.

CMenu comes with a lot of great customization options built in. One of the most used is the class 'active' being added to menu item. But, what if you want to add your own class or id to a menu item ?

1 0
1 follower
Viewed: 25 949 times
Version: 1.1
Category: How-tos

Customizing the CMenu Widget

Created 10 years ago by mistryb, updated 9 years ago by mistryb.

The CMenu class provides some useful features for generating menus in your web application.

1 0
4 followers
Viewed: 67 774 times
Version: 1.1
Category: Tips

Custom Number Formatting or Decimal Separators and i18n

Created 11 years ago by c@cba, updated 11 years ago by c@cba.

By default, the decimal separator in php (also in mysql) is a dot (.). So when we work with floats in Yii (in calculations, validation, sql statements etc.), the decimal separator has to be a dot. If we want to use for example a comma (,) as the decimal separator, that is if we want to display numbers and enable users to enter numbers with a comma before the decimals, we have to...

4 0
16 followers
Viewed: 86 359 times
Version: 1.1
Category: Tutorials

Using CButtonColumn to customize buttons in CGridView

Created 13 years ago by Trejder, updated 11 years ago by Gismo.

The easiest way to customize look and behaviour of them is to use series of CButtonColumn properties, like: updateButtonImageUrl (path to image for update button), updateButtonLabel (label for the update button; not HTML-encoded), updateButtonOptions (HTML options for this button, used in the way as many htmlOptions property for many widgets) and updateButtonUrl (a PHP expresion th...

75 0
59 followers
Viewed: 344 519 times
Version: 1.1
Category: How-tos