Subversion Repositories SmartDukaan

Rev

Rev 3546 | Rev 3701 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3546 Rev 3578
Line 159... Line 159...
159
function createTicketDataTable(domId) {
159
function createTicketDataTable(domId) {
160
    var ticketsTable = $('#' + domId).dataTable({
160
    var ticketsTable = $('#' + domId).dataTable({
161
         "aaSorting" : [ [ 2, 'desc' ] ],
161
         "aaSorting" : [ [ 2, 'desc' ] ],
162
//         "bAutoWidth": false,
162
//         "bAutoWidth": false,
163
//         "aoColumns" : [{ "sWidth": "5%" },
163
//         "aoColumns" : [{ "sWidth": "5%" },
164
//                        { "sWidth": "25%" },
164
//                        { "sWidth": "20%" },
165
//                        { "sWidth": "5%" },
165
//                        { "sWidth": "20%" },
166
//                        { "sWidth": "5%" },
166
//                        { "sWidth": "12.5%" },
167
//                        { "sWidth": "5%" },
167
//                        { "sWidth": "12.5%" },
168
//                        { "sWidth": "5%" },
168
//                        { "sWidth": "10%" },
169
//                        { "sWidth": "5%" },
169
//                        { "sWidth": "10%" },
170
//                        { "sWidth": "5%" }],
170
//                        { "sWidth": "10%" }],
171
        "fnDrawCallback": function() {truncateText(85);},
171
        "fnDrawCallback": function() {truncateText(85);},
172
        "iDisplayLength" : 5,
172
        "iDisplayLength" : 5,
173
        "sDom" : 'T<"clear">lfrtip',
173
        "sDom" : 'T<"clear">lfrtip',
174
        "oTableTools" : {
174
        "oTableTools" : {
175
            "sSwfPath" : "swf/copy_cvs_xls_pdf.swf"
175
            "sSwfPath" : "swf/copy_cvs_xls_pdf.swf"