Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
yasheena authored Nov 18, 2016
1 parent b59ec85 commit 814e69c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ Helpful extensions for views

This packet contains some helpful code for creating views for the framework YII2.

YFormatter: Extended YII2-Formatter
YFormatter: Extended YII2-Formatter
New format: ntext1line => Returns the first line only or first part of the first line(useful for text fields in grids)

Examples:
In column definition:
'format' => 'ntext1line', // Shows the first line only
Examples:
In column definition:
'format' => 'ntext1line', // Shows the first line only
'format' => ['ntext1line', 25] // Shows a maximum of 25 characters of the fisrt line

Installation
Expand Down

0 comments on commit 814e69c

Please sign in to comment.