Configure without loading data and drawing

Configure without loading data and drawing

SebastianG86SebastianG86 Posts: 5Questions: 0Answers: 0
edited December 2010 in General
Hi,

I wondered whether it is possible to initialize a data table without calling data from a server and drawing it. I have two DataTables in jQuery UI Tabs and wanted to configure them in a static way having $(".selector").dataTable(specificConfig); in each tab. But using this method leads to an Ajax call to the server, even when the tab is still hidden.

Is it possible to prevent loading data and table drawing and only pass a configuration? I wanted to to call something like $(".tab_i .selector").fnDraw() in a tab-enabled-callback and DataTable wait for this call before doing anything.

Sorry, I hope you understand my problem. I'm not sure how to describe it at the moment.

Thanks a lot,
Sebastian
This discussion has been closed.