This is a migrated thread and some comments may be shown as answers.

ContextMenu appendTo false documentation

1 Answer 40 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Seyfor
Top achievements
Rank 1
Seyfor asked on 10 Aug 2016, 08:05 AM

Here writes: 

With regard to the CSS selectors or element discovery via Javascript, take into account that, by default, the ContextMenu is created as a child of the<body> element. This behavior is configurable via the appendTo setting.

but appendTo links to window appendTo documentation. ContextMenu documentation does not document appendTo configuration. TypeScript declaration file for interface ContextMenuOptions is also missing appendTo property.

Which documentation is wrong (Widgets or Javascript and TypeScript)? Quick look into source (2016.2.504) tells me that appendTo does not exists on ContextMenu.

1 Answer, 1 is accepted

Sort by
0
Dimiter Madjarov
Telerik team
answered on 11 Aug 2016, 04:20 PM

Hello Matjaž,

Thank you for pointing this. The linked paragraph on the documentation page is wrong as it links the Window's appendTo property. The Kendo UI Context Menu does not have such property and is always appended as child of the <body>.

Please excuse us for the inconvenience. I will forward the problem to the documentation team.

Regards,
Dimiter Madjarov
Telerik by Progress
 
Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
 
Tags
Menu
Asked by
Seyfor
Top achievements
Rank 1
Answers by
Dimiter Madjarov
Telerik team
Share this question
or