Win a copy of TensorFlow 2.0 in Action this week in the Artificial Intelligence and Machine Learning forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Paul Clapham
  • Bear Bibeault
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Jj Roberts
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • salvin francis
  • Scott Selikoff
  • fred rosenberger

strachable columns in jsf

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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">
<h:outputText value="#{msg.number}" />
</t:commandSortHeader>

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

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

<t:column >
<f:facet name="header">
<t:commandSortHeader columnName="type" arrow="true">
<h:outputText value="#{msg.marks}" />
</t:commandSortHeader>
</f:facet>
<t:outputText 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.
 
What's a year in metric? Do you know this metric stuff tiny ad?
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic