Thanks for contacting Syncfusion support.
Based on your query, we suspect that Grid 1 id was maintained on the Grid 2 while toggling. While performing toggle operation we have to destroy the grid or change the display style as ‘none’ to avoid duplicate reference. we suggest you to use the below way to achieve your requirement. Please refer the below code example and sample link for more information.