Open
Description
I do not have concept to implement this thing, but I think that it can be extension to asText formatter method.
First, there are a few methods of word wrapping:
- Strict (as much as possible characters, can break the word)
- Word rounded up (include last word that reach the limit)
- Word rounded down (include last word before reach the limit)
I want use word wrapping to limit text.
I know that I should use substr
, but this method will break last word.
There is also wordwrap
, but first it does have third wrapping method, and secondly it only insert break line character.
This feature can be used in:
- DataGrid columns and DetailView to display first few words of content,
- Headers on page and page title, when it use some field that can be too long. (For example "question content" on "question update page",
Activity