grid - destructor

Hi,



I loading grid through dhtmlXGridFromTable. On button click I’m calling mygrid.destructor().Then again calling onload method to create the grid again. Its giving null error. How to solve this?



Thanks,

Hariharan.

When you calling dhtmlXGridFromTable functionality it destroys original table, so you can’t use the same table as source for the second grid