Wiki

Articles tagged with "customize"X
Displaying 1-6 of 6 result(s).

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

Created about a month ago by Scott_HuangHow-tos0 comments – viewed 2,541 times – ( +1 ) – version 1.1
Cusomized your grid columns by user themselves, allow user to hide/show columns or re-order the columns sequences.

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

Created 2 years ago by Louis GacHow-tos0 comments – viewed 12,469 times – ( +2 ) – version 1.1
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 ?

Override/Eliminate Bootstrap CSS/JS for Yii 2.0 widgets

Created 2 years ago by Kartik VHow-tos2 comments – viewed 28,347 times – ( +38 / -4 ) – version 2.0
In Yii 2.0, the yii widgets that use Twitter Bootstrap CSS & JS directly, are part of the yii2-bootstrap extension, starting with yii/bootstrap namespace. For customizing bootstrap extension specific widget assets, you could configure your own assets (CSS/JS) using the new Yii Asset Manager in your Yii Config file. Something like:

Customizing the CMenu Widget

Created 3 years ago by mistrybTips1 comment – viewed 47,711 times – ( +5 / -1 ) – version 1.1
The CMenu class provides some useful features for generating menus in your web application.

Custom Number Formatting or Decimal Separators and i18n

Created 4 years ago by c@cbaTutorials8 comments – viewed 52,796 times – ( +7 ) – version 1.1
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...

Using CButtonColumn to customize buttons in CGridView

Created 6 years ago by TrejderHow-tos19 comments – viewed 274,399 times – ( +101 ) – version 1.1
CGridView is a one of most flexible widgets in Yii and example its flexibility is CButtonColumn used to build buttons for steering model in each grid row. Here in this how-to we will explain ways user can customize CButtonColumn to flexibly fit it to its needs.