[ 
https://issues.apache.org/jira/browse/FLEX-32848?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13776122#comment-13776122
 ] 

Stephan Plath commented on FLEX-32848:
--------------------------------------

I think if {{AdvancedDataGrid}} supports {{isItemHighlighted()}} and 
{{isItemSelected()}} there should also be equivalents for the cell selection 
mode to be consistent.

The impact of the additional {{validateDisplayList()}} in 
{{AdvancedDataGridBase}} should be minimal in the case of 
{{AdvancedDataGridItemRenderer}} because {{UITextField.validateNow()}} takes 
only effect if the style changes. But possibly a performance loss could appear 
in custom ItemRenderers if they don't handle the validation gracefully. On the 
other hand this was the most obvious solution for the problem.

                
> AdvancedDataGrid doesn't respect style property 'textSelectedColor' for 
> selectionMode='singleCell'
> --------------------------------------------------------------------------------------------------
>
>                 Key: FLEX-32848
>                 URL: https://issues.apache.org/jira/browse/FLEX-32848
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: Advanced Data Grid
>    Affects Versions: Adobe Flex SDK Previous
>         Environment: Affected OS(s): Windows
> Affected OS(s): Windows XP
> Language Found: English
>            Reporter: Adobe JIRA
>            Assignee: Cyrill Zadra
>            Priority: Minor
>         Attachments: AdvancedDataGrid-FLEX-32848.patch, 
> AdvancedDataGridTest.mxml
>
>
> Flex version: 3.2
> Steps to reproduce:
> 1. When selectionMode="singleCell" style property 'textSelectedColor' doesn't 
> show any effect, however 'selectionColor' property works perfectly fine.
> 2. For selectionMode="singleRow" style properties 'textSelectedColor' and 
> 'selectionColor' works perfectly fine.
>  
>  
> Expected Results:
> Behavior of the 'textSelectedColor' property should be consistent for 
> selectionMode='singleCell' and 'singleRow'.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to