-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
4dc418cfa9a5ba0ca32f53590c229c14a27a7d39 New: Ability to give a custo…
…m class to the row selection checkbox New: Bootstrap 5 integration makes use of this to style the checkboxes Looks like only Bootstrap 5 will benefit from this at the moment. BS3/4, Bulma and Semantic UI don't have a class to apply directly. Sync to source repo @4dc418cfa9a5ba0ca32f53590c229c14a27a7d39
- Loading branch information
dtbuild
committed
May 2, 2024
1 parent
f1dbcf1
commit 49db7e9
Showing
5 changed files
with
7 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -53,6 +53,8 @@ var DataTable = $.fn.dataTable; | |
|
||
|
||
|
||
DataTable.select.classes.checkbox = 'form-check-input'; | ||
|
||
|
||
return DataTable; | ||
})); |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
/*! Bootstrap 5 styling wrapper for Select | ||
* © SpryMedia Ltd - datatables.net/license | ||
*/ | ||
import jQuery from"jquery";import DataTable from"datatables.net-bs5";import select from"datatables.net-select";let $=jQuery;export default DataTable; | ||
import jQuery from"jquery";import DataTable from"datatables.net-bs5";import select from"datatables.net-select";let $=jQuery;DataTable.select.classes.checkbox="form-check-input";export default DataTable; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters