Flex datagrid wordwrap customization

I would like to use the word wrapper for datagrid header, the problem is that it cuts the word to a new line, what i need is to add - sign after the word cutted...

what i mean is:

admins- trator

Answers


you'll have to extend the DataGridHeader class to do this manually, then assign it as the headerRenderer on all your DataGridColumns.

This isn't a trivial task. You'll need to use line metrics to establish the length of the string, split it up yourself and add the requisite "-".


Need Your Help

jQuery Nested Sortable - Can't move nested pre-populated LI elements

javascript jquery jquery-ui nested-sortable

I am using nestedSortable 1.3.5 from Manuele J Sarfatti: https://github.com/mjsarfatti/nestedSortable

Race condition: One thread creates static object, another thread uses it before it is finished initializing. How to handle?

c++ multithreading static race-condition thread-local

I have several places in my code where a function static object is created once, and then used (copied) any time that function is called. One of these functions can be called from any thread. The