🌐 AI搜索 & 代理 主页
Skip to content
This repository was archived by the owner on Oct 21, 2023. It is now read-only.

Commit 45aefaf

Browse files
table.dt() accesses the DataTable object for customization
1 parent c5a21fd commit 45aefaf

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/datatable.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,13 @@ dc_datatables.datatable = function(selector, chartGroup) {
6060
_table.group = function() { // ignored
6161
return this;
6262
};
63+
_table.dt = function(_) {
64+
if(!arguments.length) {
65+
return _dt;
66+
}
67+
_dt = _;
68+
return this;
69+
};
6370
_table.size = function(_) {
6471
if(!arguments.length) {
6572
return _size;

0 commit comments

Comments
 (0)