Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=5378649
By: traigo

How can I make an entire row (tr) a link?  Can the display:table set a row to
have an href and param or onclick event?  Right now we just have the first 
column
that contains a link, but we'd like the entire row to have an href or call a
js function since we want to use a custom js/css modal div to display the
details.

Current:
<s:set name="clients" value="clients" scope="request"/>
<display:table name="clients" class="table" requestURI="/clients/index.html"
id="clientList" export="true" pagesize="25">
    <display:column property="id" sortable="true" href="edit.html" paramId="id"
paramProperty="id" titleKey="client.id"/>
    <display:column property="name" sortable="true" titleKey="client.name"/>
    <display:column property="workPhone" sortable="true"
titleKey="client.workPhone"/>

    <display:setProperty name="paging.banner.item_name" value="client"/>
    <display:setProperty name="paging.banner.items_name" value="clients"/>

    <display:setProperty name="export.excel.filename" value="Clients.xls"/>
    <display:setProperty name="export.csv.filename" value="Clients.csv"/>
    <display:setProperty name="export.pdf.filename" value="Clients.pdf"/>
</display:table>


Thanks,
Traigo

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit: 
https://sourceforge.net/forum/unmonitor.php?forum_id=249318

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to