惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Engineering at Meta
Engineering at Meta
人人都是产品经理
人人都是产品经理
aimingoo的专栏
aimingoo的专栏
M
MIT News - Artificial intelligence
Recent Announcements
Recent Announcements
V
Visual Studio Blog
酷 壳 – CoolShell
酷 壳 – CoolShell
MyScale Blog
MyScale Blog
Hugging Face - Blog
Hugging Face - Blog
宝玉的分享
宝玉的分享
H
Hackread – Cybersecurity News, Data Breaches, AI and More
博客园 - 叶小钗
博客园 - 聂微东
U
Unit 42
F
Fortinet All Blogs
Microsoft Security Blog
Microsoft Security Blog
GbyAI
GbyAI
IT之家
IT之家
The GitHub Blog
The GitHub Blog
Stack Overflow Blog
Stack Overflow Blog
MongoDB | Blog
MongoDB | Blog
Y
Y Combinator Blog
A
About on SuperTechFans
博客园 - 三生石上(FineUI控件)

博客园 - waya

解決MySQL中文亂碼 java的圖像縮略方法 攝影用光 Flex調試工具Flextracepanel linux下安裝JDK5 Installing Flex Data Services on JBoss 得到不同時區的當前時間 - waya - 博客园 Flex實現的一些小應用,截幾個界面圖留驗 一個便宜的高负载网站架构 同時啟動多個Tomcat服務器 - waya - 博客园 在同一臺機器上同時啟動多個JBOSS spring2與spring1的單例模式的配置區別 Trace到文件的設置 開啟整屏窗口並無痕關閉父窗口 隱藏顯示表格行;確認提示窗口;開啟定制窗口 Log4j日志异步写入數據庫 參數URL編碼 時間字符串轉換 URL编码表一览
Flex的多行表頭
waya · 2006-12-23 · via 博客园 - waya

<ns1:DataGrid height="100%" width="100%" horizontalScrollPolicy="auto">
        
<ns1:columns>          
 
           <mx:DataGridColumn headerText="CUST{'\n'}SKU" dataField="custPoNo" width="60" id="dfCUSTSKU"/>
             
<mx:DataGridColumn headerText="Remark" dataField="remark" width="80" id="dfRemark" itemEditor="{remarkEdit}">
                
<mx:itemRenderer>
                    
<mx:Component>
                        
<mx:Text text="{data.Remark}"/>
                    
</mx:Component>
                
</mx:itemRenderer>
            
</mx:DataGridColumn>
        
</ns1:columns>        
    
</ns1:DataGrid>

第一列分得表頭;第二列的Remark顯示自動換行的Text文本,而不是單行的Label。