<link rel="stylesheet" href="https://raw.github.com/DataTables/DataTables/master/media/css/demo_table_jui.css">
<script src="https://github.com/douglascrockford/JSON-js/blob/master/json2.js"></script>
<script src="https://raw.github.com/CogShift/Knockout.Extensions/master/Javascript/src/cog.js"></script>
<script src="https://raw.github.com/CogShift/Knockout.Extensions/master/Javascript/src/cog.utils.js"></script>
<script src="https://raw.github.com/CogShift/Knockout.Extensions/master/Demo/Knockout.Extensions.Demo.Web/Scripts/DataTables-1.8.2/media/js/jquery.dataTables.js"></script>
<script src="https://raw.github.com/SteveSanderson/knockout/master/build/output/knockout-latest.debug.js"></script>
<script src="https://raw.github.com/CogShift/Knockout.Extensions/master/Javascript/src/knockout.bindings.dataTables.js"></script>
<!-- Sample 2: Editable Data Table with Row Template -->
<!-- https://bitbucket.org/grid13/knockout.extensions/src/23ea009b7217445d611d96a565caab3e371346b7/Javascript/src/knockout.bindings.dataTables.js?at=master&fileviewer=file-view-default-->
<div Id="sample2" class="sample">
<h1> Sample 2: Editable Data Table with Row Template</h1>
<p class="description">
This demonstration is the same as Sample 1, except for the following:
<ul>
<li>A jQuery template is used by the table to print each row.</li>
<li>You are able to edit the values of each cell which demonstrates how each cell is bound back to an item property in the array data source.</li>
<li>You can remove a specific row in the table demonstrating the link between the table's rows and the items in the array data source.</li>
</ul>
</p>
<div class="table">
<a data-bind="click: addItem">Add</a>
<a data-bind="click: toggleEdit">Toggle Edit</a>
<br /><br />
<table data-bind="dataTable: {
dataSource: data,
rowTemplate: 'sample2RowTemplate',
columns:...