Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Merge DataTable columns  RSS feed

 
cool gunas
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
Am very new to JSF and i had face this conflict,
My JSF look like this


<t:dataTable
id="dt1"
value="#{outBoxController.documentDetails}"
border="0"
width="#{outBoxController.outboxHelper.tableWidth}"
headerClass="dataTableHeader" rowClasses="pagebackground"
var="documentDetail">

<t:column styleClass="widthIcon">
<t:selectBooleanCheckbox id="checkbox1"
value="#{documentDetail.docSelected}" >

</t:selectBooleanCheckbox>
</t:column>
<t:column id="colpTxt12448" styleClass="widthColumnCat1"
rendered="#{outBoxController.outboxHelper}">
<f:facet name="header" >
<t:panelGroup >
<t:commandButton image="#{outBoxController.imageVariables}"
actionListener="#{outBoxController.imgRequest}">
</t:commandButton>
<tutputText value=" "></tutputText>
<tutputText value="#{msg}" />
</t:panelGroup>
</f:facet>
<tutputText value="#{documentDetail.docType}"></tutputText>
</t:column>
<t:dataTable >

Like this it has more the than 50 columns.

if every time the checkBox triggered, the relevent value sholud be appeared on immediate next row. this is also done,

my problem is this ,
while displaying the immediate next row, that row must contains only 3 columns, My actual columns is 50, that 50 all dynamic columns, but it have atlest one column,

i have no clue how to do it,

help me, any one would know,

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!