Groups
Groups
Sign in
Groups
Groups
chainjs
Conversations
About
Send feedback
Help
databinding items inside a table with multiple rows.
0 views
Skip to first unread message
Gabriel
unread,
May 30, 2009, 12:02:52 PM
5/30/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to chainjs
Hello,
I have been trying to use chain.js in the following context without
success. Maybe you can help me or let me know if it is even possible.
My items that will be data bound will be inside a table with 4 items
per row. Example:
<table>
<tr>
<td><span class="name">Item 1</span></td>
<td><span class="name">Item 2</span></td>
<td><span class="name">Item 3</span></td>
<td><span class="name">Item 4</span></td>
</tr>
<tr>
<td><span class="name">Item 5</span></td>
<td><span class="name">Item 6</span></td>
<td><span class="name">Item 7</span></td>
<td><span class="name">Item 8</span></td>
</tr>
</table>
Would it be possible to use chain to accomplish this? If so, how?
Thanks,
Gabriel
Rizqi
unread,
May 31, 2009, 5:08:45 PM
5/31/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to chainjs
Hi, it is rather difficult, since chain's iteration is done by cloning
the dom-element.
if you need template-based engine, you might be interested in PURE:
http://wiki.github.com/pure/pure
cheers
Reply all
Reply to author
Forward
0 new messages