If you're working off a sublist of items, I've used a column field called itemtype (I think?) before that doesn't produce the enums, but it gives you enough info to get the type (e.g. it says 'InvItem' or something when it's an inventory item, you'd just have to hardcode in a conversion of each of those options to the right enum)