濮阳杆衣贸易有限公司

主頁(yè) > 知識(shí)庫(kù) > Flex DataGrid 偽合并單元格實(shí)現(xiàn)思路

Flex DataGrid 偽合并單元格實(shí)現(xiàn)思路

熱門(mén)標(biāo)簽:地圖標(biāo)注多家店 車(chē)載電話(huà)機(jī)器人 無(wú)錫電銷(xiāo)外呼系統(tǒng)代理 南昌crm外呼系統(tǒng)如何 什么行業(yè)需要電話(huà)機(jī)器人 天津企業(yè)外呼系統(tǒng)代理商 外呼系統(tǒng)號(hào)碼顯示 廣州ai外呼系統(tǒng)業(yè)務(wù) 中山外呼系統(tǒng)中間件
?xml version="1.0" encoding="utf-8"?> 
s:MXDataGridItemRenderer xmlns:fx="http://ns.adobe.com/mxml/2009"  
         xmlns:s="library://ns.adobe.com/flex/spark"  
         xmlns:mx="library://ns.adobe.com/flex/mx"  
         width="100%" height="100%" 
          
         autoDrawBackground="false" 
         creationComplete="mxitemrenderer1_creationCompleteHandler(event)" 
        > 
  s:layout> 
    s:VerticalLayout verticalAlign="middle" horizontalAlign="center"/> 
  /s:layout> 
  fx:Script> 
    ![CDATA[ 
      import mx.collections.ArrayCollection; 
      import mx.controls.Text; 
      import mx.events.FlexEvent; 
       
      protected function mxitemrenderer1_creationCompleteHandler(event:FlexEvent):void 
      { 
        var txt1:String = lbl.text.split(",")[0]; 
        var txt2:String = lbl.text.split(",")[1]; 
        lbl1.text = txt1; 
        lbl2.text = txt2; 
     
      } 
       
    ]]> 
  /fx:Script> 
  fx:Declarations> 
    !-- 將非可視元素(例如服務(wù)、值對(duì)象)放在此處 --> 
  /fx:Declarations> 
  s:Label id="lbl" text="{dataGridListData.label}" visible="false" height="0"/> 
   
  s:VGroup  id="vp" width="100%" height="100%" gap="2" > 
  s:Label  id="lbl1" color="0x000000" textAlign="center" verticalAlign="middle" width="100%"/> 
  mx:HRule width="100%" chromeColor="0x999999" alpha="0.3"/> 
  s:Label  id="lbl2" color="0x000000" textAlign="center" verticalAlign="middle" width="100%"/> 
  /s:VGroup> 
  /s:MXDataGridItemRenderer>
您可能感興趣的文章:
  • Flex 獲取每月第幾周小例子
  • Flex 遍歷Object鍵和值的示例代碼
  • Flex 自定義DataGrid實(shí)現(xiàn)根據(jù)條目某一屬性值改變背景顏色
  • Flex4 DataGrid中嵌入RadioButton實(shí)現(xiàn)思路及代碼
  • flex 遍歷Object對(duì)象內(nèi)容的實(shí)現(xiàn)代碼
  • 全面了解flex的用途

標(biāo)簽:佛山 滄州 欽州 呂梁 海西 泰州 攀枝花 仙桃

巨人網(wǎng)絡(luò)通訊聲明:本文標(biāo)題《Flex DataGrid 偽合并單元格實(shí)現(xiàn)思路》,本文關(guān)鍵詞  Flex,DataGrid,偽,合并,單元格,;如發(fā)現(xiàn)本文內(nèi)容存在版權(quán)問(wèn)題,煩請(qǐng)?zhí)峁┫嚓P(guān)信息告之我們,我們將及時(shí)溝通與處理。本站內(nèi)容系統(tǒng)采集于網(wǎng)絡(luò),涉及言論、版權(quán)與本站無(wú)關(guān)。
  • 相關(guān)文章
  • 下面列出與本文章《Flex DataGrid 偽合并單元格實(shí)現(xiàn)思路》相關(guān)的同類(lèi)信息!
  • 本頁(yè)收集關(guān)于Flex DataGrid 偽合并單元格實(shí)現(xiàn)思路的相關(guān)信息資訊供網(wǎng)民參考!
  • 推薦文章
    德保县| 偃师市| 泰顺县| 彰化县| 西峡县| 福安市| 莆田市| 玉环县| 张北县| 祁门县| 富阳市| 高尔夫| 温泉县| 肃北| 班戈县| 辽宁省| 中宁县| 景德镇市| 宁乡县| 屯昌县| 洪雅县| 麦盖提县| 屯门区| 双鸭山市| 武义县| 潍坊市| 闽侯县| 吉木萨尔县| 东乌珠穆沁旗| 乐安县| 宿松县| 青神县| 米易县| 抚顺市| 辛集市| 毕节市| 通榆县| 尉氏县| 蒙山县| 桂东县| 十堰市|