fnDestroy call fnServerData
fnDestroy call fnServerData
filipiz
Posts: 5Questions: 0Answers: 0
Hi.
I think this behavior should be reviewd.
The fnDestroy() method calls fnSetColumnVis().
This is undestandable.
fnSetColumnVis() calls _fnDraw() - that calls fnServerData().
This is also undestandable.
But, I think there should have some kind of flag/attribute that says that the fnSetColumnVis() call is to destroy the component. I don't think that the destroy method should request data from server.
For me it doesn't make sense.
Do you think I'm wrong?
I think this behavior should be reviewd.
The fnDestroy() method calls fnSetColumnVis().
This is undestandable.
fnSetColumnVis() calls _fnDraw() - that calls fnServerData().
This is also undestandable.
But, I think there should have some kind of flag/attribute that says that the fnSetColumnVis() call is to destroy the component. I don't think that the destroy method should request data from server.
For me it doesn't make sense.
Do you think I'm wrong?
This discussion has been closed.
Replies
Regards,
Allan
Nice to contribute a little bit.
Datatables is incredibly usefull!
Regards.
Filipi