HIghlight row in red border in AdvancedDataGrid in Flex 4

我的梦境 提交于 2019-12-25 18:28:50

问题


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.


回答1:


You will have to extend mx.controls.advancedDataGridClasses.AdvancedDataGridGroupItemRenderer and add the condition + visuals to add the red border based on that condition.



来源:https://stackoverflow.com/questions/38560401/highlight-row-in-red-border-in-advanceddatagrid-in-flex-4

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!