> For the complete documentation index, see [llms.txt](https://docs.gapvelocity.ai/webmap/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.gapvelocity.ai/webmap/general/frontend/documentation/powerbuilder-kendo-components/data-manager-componets/data-manager-control.md).

# data-manager-control

DataManagerControlComponent is the one in charge of handle all datamanager events and call the corresponding event emitter on DataManagerControlBaseComponent.

## Support

### Properties

| Property                     | Get/Set | Notify Changes | Details                                                                  |
| ---------------------------- | ------- | -------------- | ------------------------------------------------------------------------ |
| currentDM: any               | Yes/No  | No             | Returns an object with the current data window id and its binding value. |
| dirty: boolean               | Yes/Yes | Yes            | Indicates whether the current DataManager has changed.                   |
| getDataManagerId: string     | Yes/No  | No             | Returns the dataManger id does not matter if the core is v4 or v5.       |
| myCurrentDataManager: string | Yes/Yes | No             | Gets or Sets a string indicating the currentDataManager                  |

### Events

In this section all the events are handled by eventsHandler function and sended to DataManagerControlBaseComponent.

### Functions

| Function            | Supported | Details                                                               |
| ------------------- | --------- | --------------------------------------------------------------------- |
| getModelDataManager | Yes       | Returns the model for the corresponding dataManager.                  |
| setIdInDataManager  | Yes       | Assigns the heightContainer property in the model of the dataManager. |
| eventsHandler       | Yes       | Invoke the corresponding handling for data window control.            |
