slight mods to prtUiTableEditStructure