How I can recreate my own table again in IE7

How I can recreate my own table again in IE7

aniruguanirugu Posts: 2Questions: 1Answers: 1

I am using this wonderful plugin in IE7 and everything work perfectly fine.

for destroy I do use this code

table.off('order.dt');
$("#tblKeywords").dataTable().fnDestroy();

and recreate the table by dataTable() and that event.

After destroy the datatables when I reinitialize the table It's goes in default mode. I means I change the data to table by change .html() of my table body.

Now when I press on column and destroy the table and after datatable initliaze it's again go to same mode when I click. it's must be change to other mode from the last mode it's on before destroy.

Do someone know how to use state to let them use again when create table again.

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 63,691Questions: 1Answers: 10,500 Site admin

    I'm afraid I don't actually understand the issue. Can you link to a test page that shows the problem with step by step instructions on how to recreate the problem.

    Does this only occur in legacy browsers like IE7 or in current browsers as well?

    Thanks,
    Allan

  • aniruguanirugu Posts: 2Questions: 1Answers: 1
    Answer ✓

    thanks allean to help.

    My problem is fixed now.

    What I means is I want to change the table body data when it's click on head (for order).

    I store the .dataTable().order and load them again when new datatable made.

    it's work fine. Thanks again for your wonderful software. you can close this thread.

This discussion has been closed.