AdvancedDataGrid - 禁用标题翻转和选择颜色

发布于 2024-09-11 14:13:09 字数 67 浏览 1 评论 0原文

我之前使用过数据网格并通过覆盖方法解决了该问题,但现在我必须转向高级数据网格,但尚未找到答案,任何人都可以提供帮助,谢谢

i used before a datagrid and fixed that issue by overriding the methods but now i have to move to advanced data grid and didn't find the answer yet, could any one help, thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

往日 2024-09-18 14:13:09

在你的CSS文件中:

AdvancedDataGrid { /* or the stylename you're using for the ADG */
  /* other styles */
  headerStyleName: "myHeaderStyle";
  /* other styles */
}

.myHeaderStyle {
  up-skin: Embed(source="myADGHeaderSkin.swf",symbol="upSkin");
  over-skin: Embed(source="myADGHeaderSkin.swf",symbol="upSkin");
  selected-skin: Embed(source="myADGHeaderSkin.swf",symbol="upSkin");
}

基本上改变你想要使用与上层皮肤相同的皮肤的任何状态。

In your CSS file:

AdvancedDataGrid { /* or the stylename you're using for the ADG */
  /* other styles */
  headerStyleName: "myHeaderStyle";
  /* other styles */
}

.myHeaderStyle {
  up-skin: Embed(source="myADGHeaderSkin.swf",symbol="upSkin");
  over-skin: Embed(source="myADGHeaderSkin.swf",symbol="upSkin");
  selected-skin: Embed(source="myADGHeaderSkin.swf",symbol="upSkin");
}

Basically change whatever states you want to use the same skin as the up-skin.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文