+ Start a Discussion

Table show empty record line

Good day, 


the table suppose to display 5 records from a list of 10 records,with rendered filter apply but the problem is the rest 5 records which not suppose to show do not show value but does show the empty line in the table
it is part of multi-tab form and is it under one tab call contact

Code :


<apex:pageBlock >
<apex:pageBlockSection collapsible="false" showHeader="false">
<apex:pageBlockSectionItem >
<apex:pageBlockTable value="{!myList}" var="item" width="100%">
<apex:column > 
<apex:facet name="header">Field Name</apex:facet>            			
<apex:outputText value="{!item.fieldName}" rendered="{!item.tabName=='Contact'}"/>            				             				
<apex:column > 
<apex:facet name="header">Tab Name</apex:facet>   
 <apex:outputText value=" {!item.tabName}" rendered="{!item.tabName=='Contact'}"/>                    				         			
<apex:column >             
<apex:facet name="header">Is Enabled</apex:facet>   				 
<apex:inputCheckbox value="{!item.isEnabled}" rendered="{!item.tabName=='Contact'}"/>
<apex:column >
<apex:facet name="header">Is Required(Mandatory)</apex:facet>               				 
<apex:inputCheckbox value="{!item.isRequired}" rendered="{!item.tabName=='Contact'}"/>