-
October 26th, 2013, 03:51 PM
#1
DynaGrid: Setting multiple attributes on one HTML tag
Hello, can I set multiple attributes on one HTML tag in each generated row in Dynagrid, based on the data pushed from lightstreamer server ? For example (fields assigned in bold):
<DynaGridTable>
<tr>
<td><div attrib1="<%field1value%>" attrib2="<%field2value%>" attrib3="<%field3value%>"><%divvalue%></div></td>
<td><a href="<%href1value%>" style="color:<%atag1color%>"><%atagtext%></a></td>
<td><a href="<%href2value%>" onclick="return func('<%atag2idvalue%>');"></a></td>
<td><input type="checkbox" checked="<%checkedvalue%>" id="<%cbhtmlid%>" name="<%cbhtmlname%>" class="cbclass_<%checkboxclassname%>" /></td>
<td><input type="hidden" id="<%hiddenid%>" name="<%hiddenname%>" value="<%hiddenvalue%>" /></td>
</tr>
</DynaGridTable>
Another question is can I assigned it to attribute in the row tag?
<DynaGridTable>
<tr attrib1="<%rowattrib1%>" attrib2="<%rowattrib2%>" attrib3="<%rowattrib3%>">
..........
</tr>
</DynaGridTable>
Any suggestion?
Regards,
Justin
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
All times are GMT +1. The time now is 12:57 PM.
Bookmarks