Showing 1-5 of 5 items.

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

Created 9 years ago by Scott_Huang Scott_Huang, updated 9 years ago by Scott_Huang Scott_Huang. 0 comments

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
Viewed: 28 492 times
Version: 1.1
Category: How-tos

Custom Number Formatting or Decimal Separators and i18n

Created 14 years ago by c@cba c@cba, updated 14 years ago by c@cba c@cba. 8 comments

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
Viewed: 95 341 times
Version: 1.1
Category: Tutorials

Using CButtonColumn to customize buttons in CGridView

Created 15 years ago by Trejder Trejder, updated 13 years ago by Gismo Gismo. 20 comments

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
Viewed: 359 420 times
Version: 1.1
Category: How-tos