src/js/table/TableStore.js
function(payload) {
        var action = payload.action;

        if (!this.shouldHandleAction(action.component)) {
            return;
        }

        switch (action.actionType) {
            case ActionTypes.REQUEST_DATA:
                this.handleRequestDataAction(action);
                break;
            case ActionTypes.TABLE_SORT:
                this.collection[action.id].sortData(action.data.colIndex, action.data.direction);
                this.emitChange(action.id);
                break;
            case ActionTypes.FILTER:
                this.collection[action.id].setFilterValue(action.data.value);
                this.emitChange(action.id);
                break;
            case ActionTypes.ADVANCED_FILTER:
                this.collection[action.id].setAdvancedFilters(action.data.advancedFilters);
                this.emitChange(action.id);
                break;
            case ActionTypes.PAGINATE:
                this.collection[action.id].paginate(action.data.direction);
                this.emitChange(action.id);
                break;
            case ActionTypes.TOGGLE_BULK_SELECT:
                this.collection[action.id].updateBulkSelection(action.data.deselect);
                this.emitChange(action.id);
                break;
            case ActionTypes.TOGGLE_ROW_SELECT:
                this.collection[action.id].updateRowSelection(action.data.rowIndex);
                this.emitChange(action.id);
                break;
            case ActionTypes.DESTROY_INSTANCE:
                this.destroyInstance(action.id);
                break;
        }
    }
function(payload) {
        var action = payload.action;

        if (!this.shouldHandleAction(action.component)) {
            return;
        }

        switch (action.actionType) {
            case ActionTypes.REQUEST_DATA:
                this.handleRequestDataAction(action);
                break;
            case ActionTypes.TABLE_SORT:
                this.collection[action.id].sortData(action.data.colIndex, action.data.direction);
                this.emitChange(action.id);
                break;
            case ActionTypes.FILTER:
                this.collection[action.id].setFilterValue(action.data.value);
                this.emitChange(action.id);
                break;
            case ActionTypes.ADVANCED_FILTER:
                this.collection[action.id].setAdvancedFilters(action.data.advancedFilters);
                this.emitChange(action.id);
                break;
            case ActionTypes.PAGINATE:
                this.collection[action.id].paginate(action.data.direction);
                this.emitChange(action.id);
                break;
            case ActionTypes.TOGGLE_BULK_SELECT:
                this.collection[action.id].updateBulkSelection(action.data.deselect);
                this.emitChange(action.id);
                break;
            case ActionTypes.TOGGLE_ROW_SELECT:
                this.collection[action.id].updateRowSelection(action.data.rowIndex);
                this.emitChange(action.id);
                break;
            case ActionTypes.DESTROY_INSTANCE:
                this.destroyInstance(action.id);
                break;
        }
    }
Handles all events sent from the dispatcher. Filters out to only those sent via the Table
@param {Object} payload - Contains action details.