re-initialize with fnDestroy problem
re-initialize with fnDestroy problem
pasquale
Posts: 2Questions: 0Answers: 0
Hi,
I use the following code to reinitialize data when change request.
It's ok. But the columns enlarge width on every request.
Have you got some solutions?
[code]
function reinitializeData()
{
$(document).ready(function() {
oTable.fnDestroy();
oTable.dataTable({
"bProcessing": true,
"bRetrieve": true,
"bJQueryUI": true,
"sAjaxSource": 'baseUrl.php'
} );
}
[/code]
I use the following code to reinitialize data when change request.
It's ok. But the columns enlarge width on every request.
Have you got some solutions?
[code]
function reinitializeData()
{
$(document).ready(function() {
oTable.fnDestroy();
oTable.dataTable({
"bProcessing": true,
"bRetrieve": true,
"bJQueryUI": true,
"sAjaxSource": 'baseUrl.php'
} );
}
[/code]
This discussion has been closed.
Replies
Allan