Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个 DataGrid 需要在鼠标悬停时显示渐变背景。我为每一列创建了itemrenderers,并且渐变显示为鼠标悬停的单个单元格,但不是整行。将鼠标悬停在其中一个单元格上时,如何让整行显示渐变?
您有子类化DataGrid并深入研究ListBase并覆盖protected function drawRowHighlightIndicator(). 您将使用图形类来绘制您需要的东西,因此请了解如何做到这一点。
DataGrid
ListBase
protected function drawRowHighlightIndicator()