handle "allowEmpty" option to table