Subversion Repositories SmartDukaan

Rev

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

Rev 19088 Rev 20021
Line 240... Line 240...
240
 
240
 
241
                "iDisplayLength" : 10,
241
                "iDisplayLength" : 10,
242
                //"fnDrawCallback": function() {truncateText(100);},
242
                //"fnDrawCallback": function() {truncateText(100);},
243
                "aLengthMenu" : [ [ 5, 10, 20, -1 ], [ 5, 10, 20, "All" ] ]
243
                "aLengthMenu" : [ [ 5, 10, 20, -1 ], [ 5, 10, 20, "All" ] ]
244
            });
244
            });
245
            
245
            if(typeof ordertype!='undefined'){
246
            $('#order-table').dataTable({
246
            $('#order-table').dataTable({
247
            	
247
            	
248
                //"aaSorting" : [ [ 2, 'desc' ] ],
248
                //"aaSorting" : [ [ 2, 'desc' ] ],
249
	            "bAutoWidth": false,
249
	            "bAutoWidth": false,
250
	            "aoColumns" : aoColumns[ordertype],
250
	            "aoColumns" : aoColumns[ordertype],
Line 255... Line 255...
255
	                });
255
	                });
256
                },
256
                },
257
                "aLengthMenu" : [ [ 5, 10, 20, -1 ], [ 5, 10, 20, "All" ] ]
257
                "aLengthMenu" : [ [ 5, 10, 20, -1 ], [ 5, 10, 20, "All" ] ]
258
            });
258
            });
259
        }
259
        }
-
 
260
        }
260
    });
261
    });
261
}
262
}
262
 
263
 
263
function createTicketDataTable(domId) {
264
function createTicketDataTable(domId) {
264
    var ticketsTable = $('#' + domId).dataTable({
265
    var ticketsTable = $('#' + domId).dataTable({