ContextMenu appendTo false documentation

2 posts, 0 answers
  1. Matjaž
    Matjaž avatar
    81 posts
    Member since:
    Jul 2015

    Posted 10 Aug Link to this post

    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.

  2. Dimiter Madjarov
    Admin
    Dimiter Madjarov avatar
    2156 posts

    Posted 11 Aug Link to this post

    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.
     
  3. Kendo UI is VS 2017 Ready
Back to Top