开发者

Flex datagrid wordwrap customization

开发者 https://www.devze.com 2023-01-09 23:21 出处:网络
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...

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

精彩评论

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