+ Start a Discussion
mobile vistexmobile vistex 

how to make rowspan to a particular column

hi i have a map key called rowspan .i want to make use of rowspan in my vf page to only particular column . how can i do that .

this is my code .
<apex:repeat value="{!data}" var="list">
<apex:variable value="{!0}" var="index"/>
<apex:variable value="{!list['rowspan']}" var="rspn"/>
<apex:repeat value="{!keys}" var="key">
<td rowspan="{!rspn+1}">
<apex:outputText value="{!list[key]}" rendered="{!IF(index <2 ,'true','false')}"></apex:outputText>
<apex:commandLink action="{!detail}" reRender="tab1" status="mystatus" value="{!list[key]}" rendered="{!IF(index >=2 ,'true','false')}">
<apex:param value="{!list['AG']}" assignTo="{!Agreementname}" name="AN"/>
<apex:param value="{!list['DVR'] }" assignTo="{!driver}" name="DR"/>
<apex:param value="{!key }" assignTo="{!indx}" name="ID"/>
 <apex:variable value="{!index+1}" var="index"/>


i want to get rowspan only to first td.
try this 
<td rowspan="{! VALUE(rspn)+1}">
mobile vistexmobile vistex
hi thanks for your reply but my table is disordering
User-added image
y my another tr also repeating in same tr 
since your table is completly dynamic and depend on the iterated data structures please make sure those iterated varaibles are correctly populated.