Note:
that due to the calling sequence, the enable_edit() should be called BEFORE set_subgrid() method, or edit properties will be ignored.