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

推荐订阅源

J
Java Code Geeks
Stack Overflow Blog
Stack Overflow Blog
P
Proofpoint News Feed
L
LangChain Blog
C
Check Point Blog
F
Fortinet All Blogs
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Blog — PlanetScale
Blog — PlanetScale
腾讯CDC
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Jina AI
Jina AI
Recent Announcements
Recent Announcements
雷峰网
雷峰网
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
N
Netflix TechBlog - Medium
博客园 - 【当耐特】
Hugging Face - Blog
Hugging Face - Blog
Microsoft Azure Blog
Microsoft Azure Blog
U
Unit 42
The Cloudflare Blog
月光博客
月光博客
有赞技术团队
有赞技术团队
G
Google Developers Blog
Vercel News
Vercel News

博客园 - 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。