Is it possible to remove a group or groups from a DW at runtime?
No, but you can collapse the group header and detail bands (e.g. dw.Modify ("datawindow.header.1.height=0")). This should get you close to the same effect.
Good luck,
Terry.