So by that rationale, you shouldn't be able to switch the grouping attribute while editing the table, but you can (and the field you set it to on the fly is still there and accepts edits). Not very self-consistent.
It would be lovely to be able to edit and then have the grouping logic called after edits are committed.