I have a table which is created dynamically using the <netui-data:repeater > tags.
I have made the 1st column to be a column of hyperlinks. Following is the code that I am using.
<netui-data:repeaterItem>
<tr class="contenteven" onmouseover="this.className='mouseovercolor'" onmouseout="this.className='mouseoutcolor'">
<td><span><a href="javascript: i=i+1;openwindow(i);" ><netui:label id=" %i++;%>" styleClass="labell" value="{container.item.strSR_NBR}" >
</netui:label></a></td>
<td align="center"><netui:label value="{container.item.strDATE}">
</netui:label></td>
<td align="center"><netui:label value="{container.item.strNAME}">
</netui:label></td>
</tr>
</netui-data:repeaterItem>
It prints:
SR# DATE NAME
15-34534-345 2004/09/27 Smith Will
15-34534-333 2004/09/27 JOHN Brawny
15-34534-332 2004/09/27 JOEY TRIBIANNI
Please keep in mind that the table length will vary everytime.
On clicking the 1st row 1st column, it should open a page which will display more information about row1.
I just don't know how can I keep track of the row which the user will click. I have tried various options but haven't got it to work yet. Please let me know if you have ay more suggestions.
Thanks in advance!
I have made the 1st column to be a column of hyperlinks. Following is the code that I am using.
<netui-data:repeaterItem>
<tr class="contenteven" onmouseover="this.className='mouseovercolor'" onmouseout="this.className='mouseoutcolor'">
<td><span><a href="javascript: i=i+1;openwindow(i);" ><netui:label id=" %i++;%>" styleClass="labell" value="{container.item.strSR_NBR}" >
</netui:label></a></td>
<td align="center"><netui:label value="{container.item.strDATE}">
</netui:label></td>
<td align="center"><netui:label value="{container.item.strNAME}">
</netui:label></td>
</tr>
</netui-data:repeaterItem>
It prints:
SR# DATE NAME
15-34534-345 2004/09/27 Smith Will
15-34534-333 2004/09/27 JOHN Brawny
15-34534-332 2004/09/27 JOEY TRIBIANNI
Please keep in mind that the table length will vary everytime.
On clicking the 1st row 1st column, it should open a page which will display more information about row1.
I just don't know how can I keep track of the row which the user will click. I have tried various options but haven't got it to work yet. Please let me know if you have ay more suggestions.
Thanks in advance!