datatables.net-columncontrol 0.9.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/License.txt +22 -0
- package/Readme.md +50 -0
- package/js/dataTables.columnControl.js +2537 -0
- package/js/dataTables.columnControl.min.js +8 -0
- package/js/dataTables.columnControl.min.mjs +8 -0
- package/js/dataTables.columnControl.mjs +2496 -0
- package/package.json +48 -0
- package/types/types.d.ts +88 -0
package/License.txt
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
The MIT License (MIT)
|
|
2
|
+
|
|
3
|
+
Copyright SpryMedia Limited and other contributors
|
|
4
|
+
http://datatables.net
|
|
5
|
+
|
|
6
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
8
|
+
in the Software without restriction, including without limitation the rights
|
|
9
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
10
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
11
|
+
furnished to do so, subject to the following conditions:
|
|
12
|
+
|
|
13
|
+
The above copyright notice and this permission notice shall be included in
|
|
14
|
+
all copies or substantial portions of the Software.
|
|
15
|
+
|
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
17
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
18
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
19
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
20
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
21
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
22
|
+
THE SOFTWARE.
|
package/Readme.md
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
# ColumnControl for DataTables
|
|
2
|
+
|
|
3
|
+
This is the distribution package for the [ColumnControl extension](https://datatables.net/extensions/columncontrol) for [DataTables](https://datatables.net/). Only the core software for this library is contained in this package - to be correctly styled, a styling package for ColumnControl must also be included. Please see the [npm installation documentation on the DataTables site](https://datatables.net/manual/installation#Node.js-/-NPM) for full details.
|
|
4
|
+
|
|
5
|
+
ColumnControl lets you add column specific control content to the header and footer of a DataTable. Built-in content types include ordering buttons, search inputs and search lists. The content shown is fully configurable to suit your use cases.
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
## Installation
|
|
9
|
+
|
|
10
|
+
### Browser
|
|
11
|
+
|
|
12
|
+
To use DataTables with a simple `<script>` tag, rather than using this package, it is recommended that you use the [DataTables download builder](//datatables.net/download) which can create CDN or locally hosted packages for you, will all dependencies satisfied.
|
|
13
|
+
|
|
14
|
+
### npm
|
|
15
|
+
|
|
16
|
+
For installation via npm, yarn and other similar package managers, install this package with your package manager - e.g.:
|
|
17
|
+
|
|
18
|
+
```
|
|
19
|
+
npm install datatables.net
|
|
20
|
+
npm install datatables.net-columncontrol
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
Then, to load and initialise DataTables and ColumnControl in your code use:
|
|
24
|
+
|
|
25
|
+
```
|
|
26
|
+
import DataTable from 'datatables.net';
|
|
27
|
+
import 'datatables.net-columncontrol';
|
|
28
|
+
|
|
29
|
+
new DataTable('#myTable', {
|
|
30
|
+
// initialisation options
|
|
31
|
+
});
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
## Documentation
|
|
36
|
+
|
|
37
|
+
Full documentation and examples for ColumnControl can be found [on the DataTables website](https://datatables.net/extensions/columncontrol).
|
|
38
|
+
|
|
39
|
+
## Bug / Support
|
|
40
|
+
|
|
41
|
+
Support for DataTables is available through the [DataTables forums](//datatables.net/forums) and [commercial support options](//datatables.net/support) are available.
|
|
42
|
+
|
|
43
|
+
### Contributing
|
|
44
|
+
|
|
45
|
+
If you are thinking of contributing code to DataTables, first of all, thank you! All fixes, patches and enhancements to DataTables are very warmly welcomed. This repository is a distribution repo, so patches and issues sent to this repo will not be accepted. Instead, please direct pull requests to the [DataTables/ColumnControl](http://github.com/DataTables/ColumnControl). For issues / bugs, please direct your questions to the [DataTables forums](//datatables.net/forums).
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
## License
|
|
49
|
+
|
|
50
|
+
This software is released under the [MIT license](//datatables.net/license). You are free to use, modify and distribute this software, but all copyright information must remain.
|