diff --git a/docs/views.html b/docs/views.html index 8ad02f953c9b05ca43ee48a2098ffe68039f5a6b..9b8f36cb6fa49768b8d8811a5466e2c8757b82f8 100644 --- a/docs/views.html +++ b/docs/views.html @@ -105,10 +105,10 @@ $('table.datatable').datatable({customizable: true});

综合示例

你可以启用所有增强选项。

-
+
/* JS 代码 */
-$('table.datatable').datatable({customizable: true, checkable: true, sortable: true});
+$('table.datatable').datatable({checkable: true, sortable: true});
 

用法

@@ -229,7 +229,7 @@ $('table.datatable').datatable({customizable: true, checkable: true, sor 是否在列上启用鼠标悬停样式,仅当鼠标悬停表头时生效 - + minColWidth 数字,默认为20 @@ -264,7 +264,6 @@ $('table.datatable').datatable({customizable: true, checkable: true, sor
/* JS 代码 */
 $('table.datatable').datatable(
 {
-    customizable: true,
     checkable: true,
     sortable: true,
     checkedClass: "checked",