Skip to content

Commit

Permalink
Revert "Added clearItems method to dataview"
Browse files Browse the repository at this point in the history
This reverts commit 5d64e8a.
  • Loading branch information
GreggGut committed Sep 16, 2016
1 parent 5d64e8a commit 8bc60de
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions slick.dataview.js
Original file line number Diff line number Diff line change
Expand Up @@ -362,12 +362,6 @@
updateIdxById(idx);
refresh();
}

function clearItems() {
idxById = {};
items = [];
refresh();
}

function getLength() {
return rows.length;
Expand Down Expand Up @@ -1033,7 +1027,6 @@
"deleteItem": deleteItem,
"syncGridSelection": syncGridSelection,
"syncGridCellCssStyles": syncGridCellCssStyles,
"clearItems": clearItems,

// data provider methods
"getLength": getLength,
Expand Down

0 comments on commit 8bc60de

Please sign in to comment.