This is a migrated thread and some comments may be shown as answers.
Button not appearing properly when added dynamically to button group
1 Answer 36 Views
This is a migrated thread and some comments may be shown as answers.
akshay
Top achievements
Rank 1
akshay asked on 23 Aug 2013, 12:16 PM
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.

1 Answer, 1 is accepted

Sort by
0
Iliana Nikolova
Telerik team
answered on 27 Aug 2013, 08:42 AM
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!
Asked by
akshay
Top achievements
Rank 1
Answers by
Iliana Nikolova
Telerik team
Share this question
or