AIR版的通讯簿(二十三)
private function lfWay(item:Object,column:DataGridColumn):String{
    var theValue:String=item[column.dataField]
    var result:String="";
    for each(var item:Object in useWayList){
     if(item.id==theValue){
      result=item.label;
      break;
     }
    }
    return result;
   }
   private function deleteResult(event:SQLEvent):void{
    queryList();
    Alert.show("删除成功!","提示");
   }
   private function printIt():void{
    var printObj:FlexPrintJob=new FlexPrintJob();
    if(printObj.start()){
     printObj.addObject(myDg,FlexPrintJobScaleType.SHOW_ALL);
     printObj.send();
    }
   }
   private function lfDate(item:Object,column:DataGridColumn):String{
    return DateField.dateToString(item[column.dataField],"YYYY-MM-DD");
   }
   private function showChart():void{
    mainBox.selectedChild=chartBox;
   }
   private function lfDateCat(axis:CategoryAxis,item:Object):String{
    var result:String=DateField.dateToString(item[axis.categoryField],"YYYY-MM-DD");
    return result;
   }
   private function lfWayCat(axis:CategoryAxis,item:Object):String{
    var result:String="";
    var str:String=item[axis.categoryField];
    for each(var item:Object in useWayList){
     if(item.id==str){
      result=item.label;
      break;
     }
    }
    return result;
   }
  ]]>
 </mx:Script>
阅读更多
个人分类: flex
想对作者说点什么? 我来说一句

没有更多推荐了,返回首页

不良信息举报

AIR版的通讯簿(二十三)

最多只允许输入30个字

加入CSDN,享受更精准的内容推荐,与500万程序员共同成长!
关闭
关闭