轉出Excel時,欄位值常因儲存格格式而被修改
此時可於前後加上 便可避免此情形
Try to insert html blanks to the start and end of the string:
<apex:column headerValue="Account Number">
<apex:outputText value=" {!mt.Account_Number__c} " escape="false"/>
</apex:column>
參考網址: Visualforce to Excel: Prevent long number from being displayed in Scientific Notation
沒有留言:
張貼留言