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

outsite grid expand with the panelbar

1 Answer 69 Views
PanelBar
This is a migrated thread and some comments may be shown as answers.
tan
Top achievements
Rank 1
tan asked on 28 Aug 2012, 02:29 AM
I defined a panelbar on left and a grid to right.
and I expand the panelbar,the grid's toolbar expand the same time.Is this the css problem?
I repeat it on jsFiddle http://jsfiddle.net/9Aj9E/4/ 

1 Answer, 1 is accepted

Sort by
0
Vladimir Iliev
Telerik team
answered on 31 Aug 2012, 07:49 AM
Hi Tan,

 
Thank you for contacting us.

I have checked your case at jsFiddle, and in order to fix the expanding of Grid's toolbar with the Panelbar, you should try to remove the "detail" div css property margin-left, and add "float: right":

<div id="detail" style="width:78%;float: right;">
                <div id="contentgrid" data-role="grid"
                data-bind="source: gridSource"
                data-toolbar='[{"name" : "create","text" : "new"}]'>
                </div>
</div>

I have updated your jsFiddle, where you can see the changes.

Regards,
Vladimir Iliev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
PanelBar
Asked by
tan
Top achievements
Rank 1
Answers by
Vladimir Iliev
Telerik team
Share this question
or