src/js/table/TableStore.js
function(id, definition, dataFormatter) {
    this.id = id;
    this.url = definition.url;
    this.cols = definition.cols;
    this.sortColIndex = definition.sortColIndex;
    this.pagination = definition.pagination;
    this.cursor = definition.cursor;
    this.rowClick = definition.rowClick;
    this.advancedFilters = definition.advancedFilters;
    this.data = null;
    this.filteredData = null;
    this.displayedData = null;
    this.dataCount = null;
    this.dataFormatter = dataFormatter;
    this.selectedItems = {};
    this.selectDataProperty = _.result(_.find(this.cols, {'dataType': 'select'}), 'dataProperty');
}
function(id, definition, dataFormatter) {
    this.id = id;
    this.url = definition.url;
    this.cols = definition.cols;
    this.sortColIndex = definition.sortColIndex;
    this.pagination = definition.pagination;
    this.cursor = definition.cursor;
    this.rowClick = definition.rowClick;
    this.advancedFilters = definition.advancedFilters;
    this.data = null;
    this.filteredData = null;
    this.displayedData = null;
    this.dataCount = null;
    this.dataFormatter = dataFormatter;
    this.selectedItems = {};
    this.selectDataProperty = _.result(_.find(this.cols, {'dataType': 'select'}), 'dataProperty');
}
A Table requires a definition to operate upon. The table definition requires a url for requesting
data and an array of cols (column definitions). An object in the cols array requires a headerLabel,
dataProperty, and a percentage width. The Table may also receive a sortColIndex which adds required
fields to the cols objects of sortDirection (ascending/descending) and dataType (string, number,
percent, time, or status). The table definition may also include a pagination object with two required
properties (cursor - the starting index and size - number of lines per page).
@param {String} id - The unique identifier of the Table instance.
@param {Object} definition - A defined table.
@param {Function} dataFormatter - A function that will allow for post processing of data from the server.
@constructor