<p>The device has a door holding rod (2), a holder housing with a through opening for the rod and a latching unit (11) in the housing. The latching unit has two pivotably mounted latch elements biased towards each other and in the direction of the door holding rod by respective spring elements. The latching elements are in contact with opposite sides of the rod and can be engaged with latching grooves (4) in the rod.</p>