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

Is it possible to put bootstrap grid inside panelbar?

3 Answers 227 Views
PanelBar
This is a migrated thread and some comments may be shown as answers.
JamesD
Top achievements
Rank 1
JamesD asked on 07 Feb 2014, 12:44 PM
Hi

Played around :
http://jsbin.com/bivun/1/edit
Couldn't find a way to get it working.
Is there a known issue?

 V

3 Answers, 1 is accepted

Sort by
0
Accepted
Kamen Bundev
Telerik team
answered on 10 Feb 2014, 09:58 AM
Hello Raido,

The issue you're facing is that Bootstrap uses box-sizing: border-box for everything, while Kendo relies mostly on the default content-box sizing, which is supported in more browsers and resets the Bootstrap's CSS for everything contained in a Kendo Widget. To avoid this, you will need to set the Grid columns box-sizing yourself. Additionally Kendo PanelBar uses a div child of an item as a template container, so you better wrap your Bootstrap Grid in another div. Check the modified jsBin for the result.

Regards,
Kamen Bundev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
JamesD
Top achievements
Rank 1
answered on 10 Feb 2014, 03:14 PM
Thanks, Kamen. That actually answers some other questions about kendo/bootstrap inconsistencies too!
0
Eugene
Top achievements
Rank 1
answered on 18 Sep 2014, 04:54 PM
To overcome the issue mentioned above consider using bootstrap 3 collapsible panel instead of kendo panelbar.
Tags
PanelBar
Asked by
JamesD
Top achievements
Rank 1
Answers by
Kamen Bundev
Telerik team
JamesD
Top achievements
Rank 1
Eugene
Top achievements
Rank 1
Share this question
or