how to use fnDraw without bringing back certain features?

how to use fnDraw without bringing back certain features?

mambomonkeymambomonkey Posts: 10Questions: 0Answers: 0
edited November 2010 in General
Hey Guys!

Im trying to create a datatable dynamically without any of the features, exept sort.

There will be at least one table already on the page, all with the rel "menu"

so at the moment I have this:

[code]

$('*[rel=menu]').dataTable({
"bPaginate": false,
"bLengthChange": false,
"bFilter": false,
"bSort": true,
"bInfo": false,
"bAutoWidth": false });

$('#add-cat').click(function()
{

$('#menu-list').append
(
''+
''+
''+
'Rendering engine'+
'Browser'+
'Platform(s)'+
'Engine version'+
'CSS grade'+
''+
''+
''+
''+
'Trident'+
'Internet Explorer 4.0'+
'Win 95+'+
' 4'+
'X'+
''+
''+
''
);

$('*[rel=menu]').dataTable().fnDraw();


});
[/code]

so in #menu-list there is already 1 table, when i click #add-cat it adds another datatable but with all the features on it, anyone know how I create the table without them?

thanks in advance :)
This discussion has been closed.