DataGrid 点击单元格弹出面板

  
var listData:AdvancedDataGridListData=AdvancedDataGridListData(AdvancedDataGridItemRenderer(event.itemRenderer).listData);
		if(listData.dataField == "productCode"){
			var pop:TitleWindow = (PopUpManager.createPopUp(this, TitleWindow,false, PopUpManagerChildList.POPUP) as TitleWindow);
			var l:Label = new Label();
			l.text = "1.2.3.4.5,上去打老虎.";
			var b:Button = new Button();
			b.label = "关闭";
			pop.addChild(l);
			pop.addChild(b);
		}

你可能感兴趣的:(DataGrid 点击单元格弹出面板)