Button not appearing properly when added dynamically to button group

2 posts, 0 answers
  1. akshay
    akshay avatar
    7 posts
    Member since:
    Dec 2012

    Posted 23 Aug 2013 Link to this post

    Hi,

    Button not appearing properly when added dynamically to button group

    Steps to reproduce this issue :
    1. Click on Remove button. Closure button in button group will be removed.
    2. Click on Add button. Closure button appears but Closure button is not in line with other buttons.

    PFA the sample project.

    Any help will be appreciated.

    Thanks in Advance.
  2. Iliana Nikolova
    Admin
    Iliana Nikolova avatar
    2593 posts

    Posted 27 Aug 2013 Link to this post

    Hi Akshay,

    Thank you for the runnable example. In order to achieve the expected result you should add km-button class to the element with id "idBtnClosure". I.e.: 

    function onAddButtonClick() {
        $("#select-view").append('<li class="km-button clsClosure" id="idBtnClosure"></li>');
    }
    Regards,
    Iliana Nikolova
    Telerik
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  3. Kendo UI is VS 2017 Ready
Back to Top