I am using DataView to show a list, in my html page, I got:
<table border='1' class="ms-prof-main">
<tr>
<th
class="ms-prof-top">Box ID</th>
<th
class="ms-prof-top">Client name</th>
<th
class="ms-prof-top">Job profile</th>
<th
class="ms-prof-top">Box status</th>
<th
class="ms-prof-top">Store Location</th>
<th
class="ms-prof-top">Time in prep</th>
<th
class="ms-prof-top">Time in scan</th>
<th
class="ms-prof-top">Delete</th>
</tr>
<tr wicket:id="boxList">
<td wicket:id
="boxID" class="ms-prof-even">boxID</td>
<td wicket:id
="clientName" class="ms-prof-even">clientName</td>
<td wicket:id
="JobProfileName"
class="ms-prof-even">JobProfileName</td>
<td wicket:id
="BoxStatus" class="ms-prof-even">BoxStatus</td>
<td wicket:id
="StoreLocation"
class="ms-prof-even">StoreLocation</td>
<td wicket:id
="PreppedTime" class="ms-prof-even">PreppedTime</td>
<td wicket:id
="ScannedTime" class="ms-prof-even">ScannedTime</td>
<td
class="ms-prof-even"> Delete </td>
</tr>
</table >
then in code behind I use protected void populateItem(Item item) to
specified each table cell's data, because I can put any String in td tag so
I can easily put any javascript function call, however, I want to do that
for each row as well, so the tr tag, such as when use click on a row,
something happen, but I can't find where I can put this ability from the
code behind?
Many thanks for your help!
--
View this message in context:
http://www.nabble.com/DataView-question%2C-please-help%2C-thanks%21-tf4770079.html#a13644400
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]