Flex的多行表頭<ns1:DataGrid height="100%" width="100%" horizontalScrollPolicy="auto">
Flex的多行表頭        
<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}">
Flex的多行表頭                
<mx:itemRenderer>
Flex的多行表頭                    
<mx:Component>
Flex的多行表頭                        
<mx:Text text="{data.Remark}"/>
Flex的多行表頭                    
</mx:Component>
Flex的多行表頭                
</mx:itemRenderer>
Flex的多行表頭            
</mx:DataGridColumn>
Flex的多行表頭        
</ns1:columns>        
Flex的多行表頭    
</ns1:DataGrid>

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

相关文章:

  • 2022-12-23
  • 2021-08-24
  • 2022-12-23
  • 2021-06-09
  • 2022-02-08
  • 2022-12-23
  • 2021-09-10
猜你喜欢
  • 2021-06-28
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-20
  • 2021-07-06
相关资源
相似解决方案