plugins/bootstrap/datatable.js
function IODataSource(config) {
	this.columns = standardizeCols(config.columns);
	this.io = config.data;
	this.node = config.node;

	this.fetch = config.fetch || function(io, sort, dir) {
		io.post('sort=' + sort + '&dir=' + dir);
	}

	// Default to the first col ASC for sorting
	this.colSortIdx = config.defaultSortCol || -1
}
function IODataSource(config) {
	this.columns = standardizeCols(config.columns);
	this.io = config.data;
	this.node = config.node;

	this.fetch = config.fetch || function(io, sort, dir) {
		io.post('sort=' + sort + '&dir=' + dir);
	}

	// Default to the first col ASC for sorting
	this.colSortIdx = config.defaultSortCol || -1
}
function IODataSource ( config ) { this . columns = standardizeCols ( config . columns ) ; this . io = config . data ; this . node = config . node ; this . fetch = config . fetch || function ( io , sort , dir ) { io . post ( 'sort=' + sort + '&dir=' + dir ) ; } // Default to the first col ASC for sorting this . colSortIdx = config . defaultSortCol || - 1 }
Datasource from a remote IO source
Datasource from a remote IO source