mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-25 16:11:24 +08:00
33 lines
980 B
TypeScript
33 lines
980 B
TypeScript
/// <reference types="jquery" />
|
|
/// <reference types="jquery.dataTables" />
|
|
|
|
|
|
$(document).ready(function () {
|
|
|
|
var config: DataTables.Settings =
|
|
{
|
|
// Buttons extension options
|
|
buttons: [
|
|
{
|
|
extend: 'excel',
|
|
text: 'Excel',
|
|
className: 'class',
|
|
exportOptions: {
|
|
columns: ':visible'
|
|
}
|
|
},
|
|
{
|
|
action: function (e, dt, node, config) { },
|
|
available: function (dt, config) { return true; },
|
|
destroy: function (dt, node, config) { },
|
|
enabled: true,
|
|
init: function (dt, node, config) { },
|
|
key: 'a',
|
|
name: 'name',
|
|
namespace: 'namespace',
|
|
titleAttr: 'title',
|
|
}
|
|
],
|
|
}
|
|
|
|
}); |