2
我在這個網站上下載了datagrid的源代碼。 http://www.datatables.net/。但是我找不到在JS文件中的dataTables()的源代碼,jquery.dataTables.js,,它在我的網頁上繪製了實際的表格。哪裏可以找到源函數定義?
在我的html文件,我呼籲通過數據表,
$(document).ready(function() {
$('#example').dataTable();
});
http://www.datatables.net/download/build/jquery.dataTables.js的'DataTable'功能,'VAR的DataTable =函數(oInit)',靠近文件的開頭。 – 2013-03-18 14:08:32
https://github.com/DataTables/DataTables/blob/master/media/js/jquery.dataTables.js#L12118 – Rishabh 2013-03-18 14:10:38