Skip to content

Commit

Permalink
feat(plugins): remove jQuery from Grid State plugin (#757)
Browse files Browse the repository at this point in the history
  • Loading branch information
ghiscoding committed Jul 8, 2023
1 parent 5563234 commit 17dd205
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion examples/example-0070-plugin-state.html
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ <h2>Options:</h2>
});
sortDataView(sortCols);
});
});
})();
</script>
</body>
</html>
7 changes: 1 addition & 6 deletions examples/example-row-detail-selection-and-move.html
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,6 @@ <h3>Selected Titles:</h3>
</ul>
</div>
</div>

<script src="https://cdn.jsdelivr.net/npm/sortablejs/Sortable.min.js"></script>

<script src="../slick.core.js"></script>
Expand Down Expand Up @@ -224,11 +223,7 @@ <h3>Selected Titles:</h3>

document.addEventListener("DOMContentLoaded", function() {
// prepare the data
for (var i = 0; i < 1000; i++) {
data[i] = new DataItem(i);
}
dataView = new Slick.Data.DataView();

// create the row detail plugin
detailViewPlugin = new Slick.Plugins.RowDetailView({
cssClass: "detailView-toggle",
Expand Down Expand Up @@ -377,7 +372,7 @@ <h3>Selected Titles:</h3>
dataView.onSelectedRowIdsChanged.subscribe(function (e, args) {
console.log('onSelectedRowIdsChanged', args)
});
});
})();
</script>
</body>

Expand Down

0 comments on commit 17dd205

Please sign in to comment.