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 :
< img src =https://i.stack.imgur.com/sHpI2.pngalt =在此输入图像说明>
我选择了索引是领土是内华达州,但是我的突出显示的行是根据某些条件而不同的(在红色边框)。
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屋!