Hey,
When making changes to the datagrid that requires it to reload like changing the columns,
the menus that are created from the filter button isn't destroyed. what I mean is this,
This is the how the datagrids dom looks when first time loaded:
After playing a bit with the datagrid with this code and then creating the filters again:
dg.datagrid({columns: newColumns});
This is how it will look now:
Is there a way to destroy the menus of this datagrid when reloading it?
at some point I looked at the dom and there was around 30 menus.
Thanks.