You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flex.apache.org by "Mihai Chira (JIRA)" <ji...@apache.org> on 2015/10/21 16:48:27 UTC

[jira] [Resolved] (FLEX-34944) GridItemRenderer overrides error tooltip

     [ https://issues.apache.org/jira/browse/FLEX-34944?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mihai Chira resolved FLEX-34944.
--------------------------------
    Resolution: Fixed

> GridItemRenderer overrides error tooltip
> ----------------------------------------
>
>                 Key: FLEX-34944
>                 URL: https://issues.apache.org/jira/browse/FLEX-34944
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: Cell Renderers, Spark: Grid
>    Affects Versions: Apache Flex 4.14.1
>            Reporter: Mihai Chira
>            Assignee: Mihai Chira
>             Fix For: Apache Flex 4.15.0
>
>         Attachments: FLEX-34944.ZIP
>
>
> GridItemRenderer is a UIComponent, which can receive an {{errorString}} to signify that validation has failed on the data shown in the renderer. This is useful when the item editor (e.g. a dropdown list) disappears after the user chooses a value, and the application still needs a way to show the user they need to change the data.
> However, when a {{Validator}} associated with that renderer fails the validation, the red tooltip that appears is either empty or shows the value in that cell (using the column's {{itemToDataTip()}} function). This happens because {{GridItemRenderer.toolTipShowHandler}} doesn't take account that the tooltip can be an error tooltip, which it shouldn't alter.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)