• Ripsaw777
  • NEWBIE
  • 0 Points
  • Member since 2012

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 2
    Replies

Greetings all

 

Im looking for some assistance with formatting issues related to a DataTable if you review this link:

http://postimage.org/image/lczirvrf5/

 

You will see that the rows seem to be extending out to the right and not underneath the current row. The only way Ive been able to display each row below is to create a new DataTable underneath the current one which seems to be the wrong way to go. Can someone offer a suggestion as to how to display row after row of data? We have a check box and a basic text string which we are using to capture followups with clients.

 

Thanks

Ian

 

<apex:pageBlockSection title="1) Access Performance (check only boxes that apply to this visit)" columns="1" >
<apex:dataTable value="{!sitevisit}" var="sitevisit" columns="2" columnswidth="40%,60%" align="CENTER" cellpadding="3" border="1" bgcolor="#A9D0F5">
<apex:column headerValue="Confirmed">
<apex:inputCheckbox value="{!sitevisit.Checklist_1a__c}"/>
</apex:column>
<apex:column headerValue="Requirement">
<apex:outputField value="{!sitevisit.X1a__c}"/ >
</apex:column>
<apex:column >
<apex:inputCheckbox value="{!sitevisit.Checklist_1a__c}"/>
</apex:column>
<apex:column >
<apex:outputField value="{!sitevisit.X1a__c}"/ >
</apex:column>
</apex:datatable>

</apex:pageBlockSection>

Greetings all

 

Im looking for some assistance with formatting issues related to a DataTable if you review this link:

http://postimage.org/image/lczirvrf5/

 

You will see that the rows seem to be extending out to the right and not underneath the current row. The only way Ive been able to display each row below is to create a new DataTable underneath the current one which seems to be the wrong way to go. Can someone offer a suggestion as to how to display row after row of data? We have a check box and a basic text string which we are using to capture followups with clients.

 

Thanks

Ian

 

<apex:pageBlockSection title="1) Access Performance (check only boxes that apply to this visit)" columns="1" >
<apex:dataTable value="{!sitevisit}" var="sitevisit" columns="2" columnswidth="40%,60%" align="CENTER" cellpadding="3" border="1" bgcolor="#A9D0F5">
<apex:column headerValue="Confirmed">
<apex:inputCheckbox value="{!sitevisit.Checklist_1a__c}"/>
</apex:column>
<apex:column headerValue="Requirement">
<apex:outputField value="{!sitevisit.X1a__c}"/ >
</apex:column>
<apex:column >
<apex:inputCheckbox value="{!sitevisit.Checklist_1a__c}"/>
</apex:column>
<apex:column >
<apex:outputField value="{!sitevisit.X1a__c}"/ >
</apex:column>
</apex:datatable>

</apex:pageBlockSection>