How to dynamically change the header according to the new Schema
How to dynamically change the header according to the new Schema

Hi,
I have multiple type of entities(objects) , each has its own data structure i.e column definitions are different. I want single datatable to work (display and search) for all entities based on selected Entity.
Table creation for first entity works fine but when i try to change it to other entity it retains the values of header of first binding thus results in an error. Even though bDestroy is true and i did tried to fnCleartable before i switch table , seems even after bDestroy it retains header values some where
I have multiple type of entities(objects) , each has its own data structure i.e column definitions are different. I want single datatable to work (display and search) for all entities based on selected Entity.
Table creation for first entity works fine but when i try to change it to other entity it retains the values of header of first binding thus results in an error. Even though bDestroy is true and i did tried to fnCleartable before i switch table , seems even after bDestroy it retains header values some where
This discussion has been closed.