如何更改 Telerik GridGroupByExpression 箭头的颜色?
有谁知道如何更改下面链接中显示的 GridGroupByExpression 箭头的颜色? http://demos.telerik.com/aspnet- ajax/grid/examples/groupby/outlookstyle/defaultcs.aspx
我还没有弄清楚如何更改默认黑色的颜色。我想将项目中的几个更改为白色(在上面的演示中,它是蓝色的阴影),但我不知道如何实现这一点(演示没有显示如何更改它),所以如果有人知道我如何才能做到这一点,我将不胜感激。先感谢您。
Does anybody know how to change the color of GridGroupByExpression arrow shown at the link below?
http://demos.telerik.com/aspnet-ajax/grid/examples/groupby/outlookstyle/defaultcs.aspx
I haven't figured out how to change the color from the default black. I'd like to change the several I have in my project to white (in the above demo it's a shade of blue) but I have no clue how to pull this off (the demo doesn't show how to change it), so if anybody knows how I can accomplish this I'd greatly appreciate it. Thank you in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
最简单的方法是订阅 OnColumnCreated 事件并使用以下代码片段:
用于这些组的图像是“SingleMinus.gif”和“SinglePlus.gif”图像,您可以在本地 Telerik 安装文件夹。它们应该可以在 Skins/[Skin Name]/Grid/ 文件夹中找到。
The easiest thing to do would be to just subscribe to the OnColumnCreated event and use the following code-snippet:
The images that are used for these groups are the "SingleMinus.gif" and "SinglePlus.gif" images that you can find within the local Telerik install folder. They should be found in the Skins/[Skin Name]/Grid/ folder.
@Kswift:我们无法更改图像的颜色,我们必须使用 Carl 建议的 OnColumnCreated 事件,如果您想更改图像的颜色,您可以使用任何照片编辑器来完成,而不是使用上述方法与网格绑定。
@Kswift : we can not change the colour of an image , we have to use the OnColumnCreated event what Carl suggested ,if you want to change the color of an image , you can do it with any photo editor and than use the above method to bind with the grid.