Works !!!!!!!!!

Thanks a lot Naveen..


-- 
Thanks & Regards

Sadhana  Punuru

2009/8/13 Naveen Namburi <naveennamb...@gmail.com>

> HI,
>
> try using "sortProperty" of display column.
>
> Thanks And Regards,
> N.Naveen.
>
>
>
>
> 2009/8/12 punuru <sadhana.pun...@gmail.com>
>
>>
>> Hi ,
>>
>> I'm having displaytag working with struts2.I have to sort a column called
>> MRN,which has auto link.But when i sort this column,It does not sort as
>> numbers does..but it take like
>> String and sorts....please any body help..this is sooooooooooooo urgent.
>>
>>
>> Here is the code i have
>>
>> <display:table id="data3" class="displaytag" name="${allClinician}"
>> requestURI=""  decorator="org.kp.toolkit.util.DisplayDecorator"
>> export="true" style="font-family: Arial;width=400px" pagesize="100">
>>
>>                             <display:column title="MRN" sortable="true"
>> ><a href="/org.kp.psychoutcomes.toolkit/graph.action?client_id=<c:out
>> value="${data3.clientid}"/>" target="_blank"> <c:out
>> value="${data3.clientid}"/> </a></display:column>
>>                             <display:column property="nickname"
>> title="Patient<br/>Name" sortable="true" style="font-family:
>> Arial;width:100px"/>
>>                             <display:column property="recentdate"
>> title="Recent<br/>GDS</br>Date" sortable="true" style="font-family:
>> Arial;width:100px"/>
>>                             <display:column property="gdsscore"
>> title="Most<br/>Recent<br/>GDS" sortable="true" style="font-family:
>> Arial;width:100px">
>>                             </display:column>
>>                             <display:column property="symptoms"
>> title="Symptoms" sortable="true" maxLength="40" class="sym"
>> headerClass="sym" style="font-family: Arial;width:100px"/>
>>                             <display:column property="harm"
>> title="Harm</br>Risk" sortable="true" maxLength="40"  class="harm"
>> headerClass="harm" style="font-family: Arial;width:100px"/>
>>                             <display:column property="function1"
>> title="Work</br>Functioning" sortable="true" class="function123"
>> headerClass="function123" style="font-family: Arial;width:100px"/>
>>                             <display:column property="social"
>> title="Social</br>Functioning" sortable="true" maxLength="40" class="social"
>> headerClass="social" style="font-family: Arial;width:100px"/>
>>                             <display:column property="sa"
>> title="Substance<br/>Abuse" sortable="true"  maxLength="40" class="sa"
>> headerClass="sa" style="font-family: Arial;width:100px" />
>>                             <display:column property="alliance"
>> title="Goodness<br/>of<br/>Fit" sortable="true" style="font-family:
>> Arial;width:100px" />
>>                             <%--    <display:column
>> property="gdsassessnum1" title="First<br/>GDS" sortable="true"
>> class="gdsaccess" headerClass="gdsaccess" style="font-family:
>> Arial;width:100px" /> --%>
>>                             <display:column property="assessnum"
>> title="Assessment<br/>Number" sortable="true" class="assessnum"
>> headerClass="assessnum" style="font-family: Arial;width:100px"/>
>>                             <display:column property="changescore"
>> title="Change<br/>Score" sortable="true" class="cs" headerClass="cs"
>> style="font-family: Arial;width:100px"/>
>>                             <display:column property="gdstarget"
>> title="GDS<br/>Target" sortable="true" class="gt" headerClass="gt"
>> style="font-family: Arial;width:100px" />
>>                             <display:column title="Status of
>> Current</br>Treatment Episode" sortable="true" style="font-family:
>> Arial;width:100px"> <s:a href="javascript:void(0);"  onmouseover="return
>> overlib('This is popup demo on the tag element&lt;br&gt;'
>> +'',TEXTFONTCLASS,'oltxt',FGCOLOR,'#bbddff',TEXTPADDING,6,
>> WRAP,BASE,2,CENTER,VAUTO,OFFSETY,18,STATUS,' ');"
>>
>> onmouseout="nd();"><c:out value="${data3.status}"/></s:a>  </display:column>
>>                         </display:table>
>>
>>
>>
>> Please need urgent help on this thanks !!
>> --
>> Thanks & Regards
>>
>> Sadhana  Punuru
>>
>>
>> ------------------------------------------------------------------------------
>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
>> 30-Day
>> trial. Simplify your report design, integration and deployment - and focus
>> on
>> what you do best, core application coding. Discover what's new with
>> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
>> _______________________________________________
>> displaytag-user mailing list
>> displaytag-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/displaytag-user
>>
>>
>
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus
> on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> displaytag-user mailing list
> displaytag-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/displaytag-user
>
>


x
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to