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
siddik s 6siddik s 6 

How to Hide Span Content

User-added image
Harish RamachandruniHarish Ramachandruni
Hi,


Add in vf page only repet value or data  table remove all the things like saction block (only for repet ) . Ypu can achive this .



Regards ,
Harish.R.
siddik s 6siddik s 6
<apex:outputPanel rendered="{!ShowGroupLife}">  
                Record Type,Policy Number, Policy Schedule Number, Cover Start Date, Cover End Date, Sum Assured, Group Life Rate, Overriden Premium, Overriden Premium, Total Premium, Ensure Participation GWP, Ensure SI Participation,FAC Ceded SI, FAC Ceded Premium, Treaty Ceded SI, Ceded Treaty Premium,Insured Name, Age, Date of Birth, Employee ID 
                <apex:repeat value="{!listofps}" var="x" > 
                
                    {!x.RecordTypeName},{!x.PolicyNumber},{!x.Name},{!x.CoverStartDate}, {!x.CoverEndDate}, {!x.SumAssured},{!x.GroupLifeRate},{!x.OverridePremium},{!x.OverridenPremium},{!x.TotalPremium},{!x.EnsureParticipationGWP},{!x.EnsureSIParticipation},{!x.FACCededSI},{!x.FACCededPremium},{!x.TreatyCededSI},{!x.CededTreatyPremium},{!x.InsuredName},{!x.Age},{!x.DateofBirth},{!x.EmployeeID}
                </apex:repeat>
            </apex:outputPanel> 


i must need this code becoz of repet run based on condition
 
Harish RamachandruniHarish Ramachandruni
Show me all the code .
siddik s 6siddik s 6
<apex:page controller="exportExcel" action="{!exportToExcel}" readOnly="true" contentType="text/csv#doc.csv">
            
            
            <apex:outputPanel rendered="{!ShowGroupLife}">  
                Record Type,Policy Number, Policy Schedule Number, Cover Start Date, Cover End Date, Sum Assured, Group Life Rate, Overriden Premium, Overriden Premium, Total Premium, Ensure Participation GWP, Ensure SI Participation,FAC Ceded SI, FAC Ceded Premium, Treaty Ceded SI, Ceded Treaty Premium,Insured Name, Age, Date of Birth, Employee ID 
                <apex:repeat value="{!listofps}" var="x" > 
                
                    {!x.RecordTypeName},{!x.PolicyNumber},{!x.Name},{!x.CoverStartDate}, {!x.CoverEndDate}, {!x.SumAssured},{!x.GroupLifeRate},{!x.OverridePremium},{!x.OverridenPremium},{!x.TotalPremium},{!x.EnsureParticipationGWP},{!x.EnsureSIParticipation},{!x.FACCededSI},{!x.FACCededPremium},{!x.TreatyCededSI},{!x.CededTreatyPremium},{!x.InsuredName},{!x.Age},{!x.DateofBirth},{!x.EmployeeID}
                </apex:repeat>
            </apex:outputPanel> 
        
        
        <apex:outputPanel rendered="{!ShowMotor}" >
        Record Type,Policy Number, Policy Schedule Number, Cover Start Date, Cover End Date, Sum Assured, Rate Applied, Overriden Premium, Overriden Premium, Total Premium, Ensure Participation GWP, Ensure SI Participation, FAC Ceded SI, FAC Ceded Premium, Treaty Ceded SI, Ceded Treaty Premium, Reg No, Make, Model
        <apex:repeat value="{!listofps}" var="x" >
            
           {!x.RecordTypeName},{!x.PolicyNumber},{!x.Name},{!x.CoverStartDate}, {!x.CoverEndDate}, {!x.SumAssured},{!x.RateApplied},{!x.OverridePremium},{!x.OverridenPremium},{!x.TotalPremium},{!x.EnsureParticipationGWP},{!x.EnsureSIParticipation},{!x.FACCededSI},{!x.FACCededPremium},{!x.TreatyCededSI},{!x.CededTreatyPremium},{!x.RegNo},{!x.Make},{!x.Model}
        </apex:repeat>
    </apex:outputPanel>
    
    <apex:outputPanel rendered="{!ShowProperty}">
    Record Type,Policy Number, Policy Schedule Number, Cover Start Date, Cover End Date, Sum Assured, Rate Applied, Overriden Premium, Overriden Premium, Total Premium, Ensure Participation GWP, Ensure SI Participation, FAC Ceded SI, FAC Ceded Premium, Treaty Ceded SI, Ceded Treaty Premium, Address, Type of Asset, Asset Description
        <apex:repeat value="{!listofps}" var="x" >
           
           {!x.RecordTypeName},{!x.PolicyNumber},{!x.Name},{!x.CoverStartDate}, {!x.CoverEndDate}, {!x.SumAssured},{!x.RateApplied},{!x.OverridePremium},{!x.OverridenPremium},{!x.TotalPremium},{!x.EnsureParticipationGWP},{!x.EnsureSIParticipation},{!x.FACCededSI},{!x.FACCededPremium},{!x.TreatyCededSI},{!x.CededTreatyPremium},{!x.Address},{!x.TypeofAsset},{!x.AssetDescription}
        </apex:repeat>
    </apex:outputPanel>
    
    <apex:outputPanel rendered="{!ShowOthers}">
    Record Type,Policy Number, Policy Schedule Number, Cover Start Date, Cover End Date, Sum Assured, Rate Applied, Overriden Premium, Overriden Premium, Total Premium, Ensure Participation GWP, Ensure SI Participation, FAC Ceded SI, FAC Ceded Premium, Treaty Ceded SI, Ceded Treaty Premium, Address, Type of Asset, Asset Description
        <apex:repeat value="{!listofps}" var="x" rendered="{IF(!x.RecordTypeName=='Others',true,false)}">
           
           {!x.RecordTypeName},{!x.PolicyNumber},{!x.Name},{!x.CoverStartDate}, {!x.CoverEndDate}, {!x.SumAssured},{!x.RateApplied},{!x.OverridePremium},{!x.OverridenPremium},{!x.TotalPremium},{!x.EnsureParticipationGWP},{!x.EnsureSIParticipation},{!x.FACCededSI},{!x.FACCededPremium},{!x.TreatyCededSI},{!x.CededTreatyPremium},{!x.Address},{!x.TypeofAsset},{!x.AssetDescription}
        </apex:repeat>
    </apex:outputPanel>
</apex:page>