$(document).ready(function () { var dt = $('#myDataTable').dataTable({ sDom": 'T<"clear">lfrtip', "oTableTools": { "sSwfPath": "/release-datatables/extras/TableTools/media/swf/copy_csv_xls_pdf.swf" } // The above code i just used and used tabletools plugin .. My buttons are placed improperly that too very small and on left side out of them only save button is working :) "bProcessing": true, "bServerSide": true, "sAjaxSource": "Home/AjaxHandler", "bJQueryUI": true, "aoColumns": [ { "sName": "Lead_Id", "bVisible": false, "bSearchable": false, "bSortable": false }, { "sName": "Contact_Name" , "bSearchable": false, "bSortable": false, "fnRender": function (oObj) { return '<a href=\"Home/Details/' + oObj.aData[0] + '\">' + oObj.aData[1] + '</a>'; } }, { "sName": "Contact_Address" }, { "sName": "Lead_Source" }, { "sName": "Domain" } ] }); )}; </pre>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)