flex 中dataGrid绘制问题
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
layout="absolute" width="100%" height="100%">
<mx:Script>
<![CDATA[
import mx.collections.ArrayCollection;
import mx.validators.NumberValidator;
import mx.events.AdvancedDataGridEvent;
import flash.events.MouseEvent;
import mx.events.FlexEvent;
[Bindable]
private var dataSource:ArrayCollection = new ArrayCollection([
{tjfl:'车间'},{xh:'1',tjfl:'外协'},{tjfl:'小计'},
{tjfl:'车间'},{xh:'2',tjfl:'外协'},{tjfl:'小计'},
{tjfl:'车间'},{xh:'3',tjfl:'外协'},{tjfl:'小计'},
{tjfl:'车间'},{xh:'4',tjfl:'外协'},{tjfl:'小计'},
{tjfl:'车间'},{xh:'5',tjfl:'外协'},{tjfl:'小计'},
{tjfl:'车间'},{cpbh:'总计',tjfl:'外协'},{tjfl:'小计'},
{xh:'简要说明'}
]);
]]>
</mx:Script>
<mx:AdvancedDataGrid id="dg1" designViewDataType="flat" sortExpertMode="true" sortableColumns="false" rowCount="5" dataProvider="{dataSource}" height="515" width="652" fontSize="14" fontFamily="Times New Roman" editable="true" horizontalScrollPolicy="auto" verticalScrollPolicy="auto" horizontalCenter="0" verticalCenter=
相关问答:
Flex
<mx:Image source="@Embed('assets/chicago.jpg')" width="445" height="329">
<mx:filters>
<mx:DropShadowFilter blurX="4.00" blurY=" ......
如题. 现有Flex Web程序一个. 此程序整体为一个TextArea
在TextArea中编辑可能会用到Tab键
但是按下tab键后, TextArea将会失去焦点
而焦点会停留在IE的地址栏上.
如何阻止? 求教!!!
http://topic.csdn.net/u/20 ......
BlazeDS报错如图,谁帮看看
XML转换异常,你看看你的XML
没找到声明的元素model, 应该是xml里面写的有问题
换成blazeds-bin-4.0.0.15165版本就好了,虽然是nightly build版,但管用啊!
跟blazeds版本有 ......
TestSearch.mxml(mx:Application):
<mx:Button label="search" click="Search.showSearchWindow(this)"/>
Search.mxml(mx:TitleWindow):
private static var search:Search = new Sear ......
package {
import flash.display.*;
//import flash.text.TextField;
//import flash.events.*;
import flash.net.URLLoader;
import flash.net.URLRequest;
import flash.net.URLReq ......