outsite grid expand with the panelbar

2 posts, 0 answers
  1. tan
    tan avatar
    4 posts
    Member since:
    Aug 2012

    Posted 27 Aug 2012 Link to this post

    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/ 
  2. Vladimir Iliev
    Admin
    Vladimir Iliev avatar
    2172 posts

    Posted 31 Aug 2012 Link to this post

    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!
  3. Kendo UI is VS 2017 Ready
Back to Top