This aluminium rail is mounted to the cupboard or side of the vehicle, with the table then having the sliding brackets fitted to it.

The table can simply be lifted off the rail for storage and when in use there is a small toothed part underneath the rail which one of the table brackets locates into, to stop the table moving along the rail.