i'm new to Jquery and i'm trying to create a plugin that does
something similar to the way a .NET repeater works.  you supply an
array and a column template and it builds the table accordingly.  i
know that you can create an HTML string, attach events to it, and then
append that string to a div on the page.  similar to:

$("<table><tr><td></td></tr></
table>").click("dosomething").appendTo("#divOnPage");

however, for my plugin, the column template determines the dynamics of
the table (e.g. whether or not headers or columns are displayed,
styles for a column, hyperlink columns, etc. ).  that being said is
there a more efficient way to implementing this plugin than just
building the HTML string first, and then attaching all my events based
on classes within the HTML string?

Reply via email to