主要代码如下:
注意:sExtends
"oTableTools": {
"sRowSelect": "multi",
"aButtons": [
{"sExtends": "new_record","sButtonText": "Add"},
{"sExtends": "select","sButtonText": "Delete Recods",
"fnClick": function (nButton, oConfig, oFlash) {
//delete stuff comes here
alert('test');
}
}
]
}