datagrid 위 에 tooltip 표시

3581 단어 xml
<?xml version="1.0" encoding="utf-8"?>

<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">

 

    <mx:Script>

       <![CDATA[

           private function showTip(obj:XML):String

           {

              return obj.phone;

           }

       ]]>

    </mx:Script>

 

    <mx:XMLList id="employees">

        <employee>

            <name>Christina Coenraets</name>

            <phone>555-219-2270</phone>

            <email>[email protected]</email>

            <active>true</active>

        </employee>

        <employee>

            <name>Joanne Wall</name>

            <phone>555-219-2012</phone>

            <email>[email protected]</email>

            <active>true</active>

        </employee>

        <employee>

            <name>Maurice Smith</name>

            <phone>555-219-2012</phone>

            <email>[email protected]</email>

            <active>false</active>

        </employee>

        <employee>

            <name>Mary Jones</name>

            <phone>555-219-2000</phone>

            <email>[email protected]</email>

            <active>true</active>

        </employee>

    </mx:XMLList>

 

    <mx:Panel title="DataGrid Control Example" height="100%" width="100%" 

        paddingTop="10" paddingLeft="10" paddingRight="10">

 

      

좋은 웹페이지 즐겨찾기