想使用此功能来做排序的,但是一直报错,提示没有此方法。
$('table.datatable').datatable({sortable: true});
我用的js是以下版本
/*!
* ZUI - v1.4.0 - 2016-01-26
* http://zui.sexy
* GitHub: https://github.com/easysoft/zui.git
* Copyright (c) 2016 cnezsoft.com; Licensed MIT
*/
/* Some code copy from Bootstrap v3.0.0 by @fat and @mdo. (Copyright 2013 Twitter, Inc. Licensed under http://www.apache.org/licenses/)*/
找不到 datatable 方法说明 datatable 没有加载。