Flex的先进数据网格样式网格、样式、先进、数据

由网友(我愛RMB)分享简介:我使用的系统,我建立一个先进的数据网格。I'm using an advanced datagrid in a system I'm building.从设计师设计PSD包括上侧翻一个特殊的背景。the design PSD from the designer includes a special backgro...

我使用的系统,我建立一个先进的数据网格。

I'm using an advanced datagrid in a system I'm building.

从设计师设计PSD包括上侧翻一个特殊的背景。

the design PSD from the designer includes a special background on rollover.

所以,我需要在连续的单元格的背景从图像获取的背景下,只有当鼠标滑过一个特定的行。

So, I need the background of the cells in a row to get the background from an image, only when the mouse rolls over a specific row.

这甚至可能吗?

可以连续获得的图像(CSS)的背景

can a row get the background from an image (CSS)

推荐答案

有一个在DataGrid中(和解释)可用一个方法叫做drawRowBackgrounds(),该负责绘制一个简单突出到一行响应于用户交互。您可能能够通过编程方式使用Flash绘图API来完成的PSD设计。如果您需要使用图像资源,你可以尝试将其添加为传递作为这个方法调用的第一个参数的Sprite的子项。

There is a method available in DataGrids (and Lists) called drawRowBackgrounds() that is responsible for drawing a simple highlight into a row in response to a user interaction. You might be able to accomplish the design in the PSD programmatically by using the Flash drawing API. If you need to use an image asset, you could try to add it as a child of the Sprite that is passed as the first argument of this method call.

阅读全文

相关推荐

最新文章