Skip to content

KaranLala/knockout-datatables

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

knockout-datatables

A simple Knockout binding for Datatables.

Dependencies

JQuery, DataTables and Knockout.

Usage

Example JSFiddle

A DataTables options object must be passed to the binding with 3 required properties:

  1. "data" property as a knockout ObservableArray

  2. "columns" property, each containing a "title" and "data"

  3. A "uniqueKey" property (not a part of DataTables) that is the property name for a unique value in each data object. It is fine to omit this if you don't plan to delete data from the datasource.

Also, this binding does not support the ajax option of DataTables because all data retreival and persistance should be handled by Knockout.

About

A simple knockout binding for Datatables

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published