AdvancedDataGrid 排序数字颜色
在高级数据网格的标题旁边,您会看到一个数字。 无论我做什么,这个数字都保持灰色。 我已经搜索了 1 个小时才找到解决方案。 非常烦人,因为改变它应该很简单。
我希望有人能帮助我解决这个问题
next to the header of an advancedDataGrid you see a number. This number stays grey no matter what i do. I Already searched 1 hour to find the solution. Very anoying because it should be so simple to change this.
I hope someone could help me with this problem
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我认为您正在寻找的是 mx:AdvancedDataGridHeaderRenderer 的“proposeColor”样式。 这将处理灰色。
现在,如果您想更改默认文本颜色,我必须上下搜索才能找到答案。 最终,我意识到,如果我制作了一个 AdvancedDataGridSortItemRenderer 并在其中放入:
则永久设置文本颜色,这意味着它将杀死您提议的颜色。
I think that what you are looking for is the 'proposedColor' style of the mx:AdvancedDataGridHeaderRenderer. That'll deal w/the grey.
Now if you wanted to change the default text colour, I had to search high and low figuring that one out. Eventually, I came to realize that if I made an AdvancedDataGridSortItemRenderer and in it put:
that sets the text colour permanently, which means it would kill your proposedColor.