在 Flex 4 中的 AdvancedDataGrid 中突出显示红色边框中的行 [英] HIghlight row in red border in AdvancedDataGrid in Flex 4
问题描述
我想在 AdvancedDataGrid 中突出显示红色边框中的行而不选择该行.我选择的项目与突出显示行不同.请看下图:
I want to highlight the row in red border in AdvancedDataGrid without selecting the row. My selected item is different from the highlight row. Please see the following image :
我选择的索引是领土是内华达州,但我突出显示的行根据某些条件不同(红色边框).
My selected index is where Territory is Nevada but my highlighted row is different(in Red Border) based on some condition.
所以请告诉我如何实现它.
So please tell me how can i implement it.
推荐答案
您必须扩展 mx.controls.advancedDataGridClasses.AdvancedDataGridGroupItemRenderer 并添加条件 + 视觉效果以添加基于该条件的红色边框.
You will have to extend mx.controls.advancedDataGridClasses.AdvancedDataGridGroupItemRenderer and add the condition + visuals to add the red border based on that condition.
这篇关于在 Flex 4 中的 AdvancedDataGrid 中突出显示红色边框中的行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!