Search code examples
apache-flexdatagridtooltipflex4flex-spark

Flex tooltip on spark datagrid header


Is it possible to set a tooltip just on the header of a spark datagrid. I do not want any tooltips on the data - just the header. I have played with mouse over and this sort of looks like it might work. This seems a bit of a hack to me though.

Can anyone help or give me any tips (pun intended)?

Thanks


Solution

  • you should have to:

    1. create a custom spark datagrid skin...
    2. create a headerRenderer skin wich extends the GridItemRenderer and put it into th spark datagrid skin
    3. add a tooltip to the label "labelDispaly"

    it should work...