开发者

Flex datagrid wordwrap customization

I would like to use the word wrapper for开发者_如何学Python 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


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 "-".

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜