# MenuDataSource

## Overview

`MenuDataSource` provides runtime access to all defined menu foundsets, allowing menus to function as datasources with `datasources.menu` in scripting. This enables menu structures to be used as data records, supporting components like `DBTreeView` and custom FormComponents for enhanced menu interactions. For more on setting up and using menu datasources, see [MenuFoundSet](https://docs.servoy.com/reference/servoycore/dev-api/database-manager/menufoundset).

***
