function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
PeaceMakerPeaceMaker 

Data issue in Excel, while Export to excel from Visualforce page

Hi,

I have a visualforce page showing some data from an object. one of the field has a value  <3/g  , when i tried to export the same page data to excel using contenttype, this particular value is missing in Excel.

Any help?

I tried prefixing  space, &nbsp; ' , ` .. no luck so far..

Gaurav NirwalGaurav Nirwal
<apex:dataTable value="{!acc}" var="a">
        <apex:column value="{!a.ID}"/>
        <apex:column value="{!a.Name}"/>
        <apex:column>
         <apex:dataTable value="{!a.contacts}" var="c">
            <apex:column value="{!c.id}"/>                          
            <apex:column value="{!c.name}"/>              
            <apex:column value="{!c.phone}"/> 
         </apex:dataTable>
        </apex:column>
</apex:dataTable>