Yui Datatable Using Knockoutjs Bindings
I have an example working at JSFiddle. It has a piece of JSON consumed by a YUI DataTable which I need to create using KnockoutJS bindings. I'm fairly new to KnockoutJS and would l
Solution 1:
I assume you need to add some data-bind attributes to your table cells. YUI table allows you to customize the TD element creation through the use of templates. Take a look at the YUI documentation for more information on this
Solution 2:
A custom binding helps resolve this problem. I can put the datatable creation code in the custom binding so that it will create he table on the markup from which the binding was called. Cool.
Post a Comment for "Yui Datatable Using Knockoutjs Bindings"