retrieve existing object
retrieve existing object
anandkulkarni
Posts: 9Questions: 3Answers: 0
Hi,
I am initialising my datatable with some options.
At one point, when i get the column header like below,
sizeTable.DataTable().column( index ).header();
The table gets reinitialised with all default options, which i don't want.. I have added following options at the time of initialisation
sometable.DataTable(
{
"bFilter" : false,
"paging" : false,
"ordering" : false,
"info" : false,
"bAutoWidth" : true,
data : itemDetails[itemDetailsKey].columnData,
columns :itemDetails[itemDetailsKey].headers,
"order" : [],
"retrieve": true
}
);
Also tried "bRetrieve":true,".. not success. Table gets drawn with searching and ordering.
Can you help?
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Do we neat put 'destroy=false' exclusively for retrieve to work ?
That should not reinitialise the table. Can you link to a test page (per the forum rules) showing the issue please.
Allan