An investment firm has acquired a grocery-anchored shopping center in Denville for more than $20 million, under a newly announced sale by Cushman & Wakefield.