This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes JSF and the fly likes strachable columns in jsf Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "strachable columns in jsf" Watch "strachable columns in jsf" New topic
Author

strachable columns in jsf

srinivas palukuri
Greenhorn

Joined: Apr 18, 2007
Posts: 7
Hi,
I am new to jsf, I have my <t:dataTable> columns has to be dragable by mouse. Means if i click on dataTable column and strach it, it has to strach. Is there any way to acheive this in jsf, if so can you pelase reply me As early as posible.

My code is as follows.

<h:form id="form2" rendered="true">
<center>
<t:panelGroup id="gridPanel1" style="width:100%; height:250px; overflow:auto;" >

<t:dataTable first="0" id="Data" frame="above" bgcolor="#E7E7F7"
cellpadding="5" cellspacing="0" border="1" rows="3" preserveDataModel="false"
value="#{managedBean.studentsCollections}" var="item">
<t:column >
<f:facet name="header">

<t:commandSortHeader columnName="type" arrow="true">
<hutputText value="#{msg.number}" />
</t:commandSortHeader>

</f:facet>
<tutputText value="#{item.number}"/>
</t:column>

<t:column>
<f:facet name="header">
<t:commandSortHeader columnName="type" arrow="true">
<hutputText value="#{msg.name}" />
</t:commandSortHeader>
</f:facet>
<tutputText value="#{item.name}"/>
</t:column>

<t:column >
<f:facet name="header">
<t:commandSortHeader columnName="type" arrow="true">
<hutputText value="#{msg.marks}" />
</t:commandSortHeader>
</f:facet>
<tutputText value="#{item.marks}"/>
</t:column>

</t:dataTable>

<t:dataScroller id="scroll_1"
for="Data"
fastStep="10"
paginator="true"
paginatorMaxPages="9"
paginatorActiveColumnStyle="font-weight:bold;">

<f:facet name="first">
<t:commandButton value="first"/>
</f:facet>
<f:facet name="last">
<t:commandButton value="last"/>
</f:facet>
<f:facet name="previous">
<t:commandButton value="previous"/>
</f:facet>
<f:facet name="next">
<t:commandButton value="next"/>
</f:facet>
<f:facet name="fastforward">
<t:commandButton value="fastforward"/>
</f:facet>
<f:facet name="fastrewind">
<t:commandButton value="fastrewind"/>
</f:facet>
</t:dataScroller>
</t:panelGroup>
</center>
</h:form>

Thanks & regards
srinivasa rao palukuri.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: strachable columns in jsf