template not overflow

4 posts, 1 answers
  1. Peter
    Peter avatar
    35 posts
    Member since:
    May 2016

    Posted 19 Aug Link to this post

    Hi,

    How can a template overflow in a toolbar?

    In http://demos.telerik.com/kendo-ui/toolbar/index  I change

    {
        template: "<input id='dropdown' style='width: 150px;' />",
        overflow: "never"
    },

    to

    {
        template: "<input id='dropdown' style='width: 150px;' />",
        overflow: "always"
    },

    but the dropdownlist doesn't overflow.

    Peter

  2. Konstantin Dikov
    Admin
    Konstantin Dikov avatar
    1793 posts

    Posted 23 Aug Link to this post

    Hello Peter,

    As documented in the following help article, when you define a template without defining an overflowTemplate, the overflow of that item will be handled as "never", regardless of the fact that you are explicitly setting it to "always":
    With that in mind, please define your overflowTemplate in order to get the desired behavior:


    Regards,
    Konstantin Dikov
    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
  4. Peter
    Peter avatar
    35 posts
    Member since:
    May 2016

    Posted 23 Aug in reply to Konstantin Dikov Link to this post

    Hi Konstantin,

    thank you. But it doesn't work with the dropdownlist:

    {
      template: "<input id='dropdown' style='width: 150px;' />",
      overflowtemplate: "<input id='dropdown' style='width: 150px;' />",
      overflow: "always"
    },

     

    would be nice, you can fix the modified example: Toolbar: dropdown with overflow

    Regards,

    Peter

  5. Answer
    Konstantin Dikov
    Admin
    Konstantin Dikov avatar
    1793 posts

    Posted 23 Aug Link to this post

    Hello Peter,

    The correct property is "overflowTemplate". Here is the working example:
    Hope this helps.


    Regards,
    Konstantin Dikov
    Telerik by Progress
     
    Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
     
Back to Top
Kendo UI is VS 2017 Ready