jQWidgets Forums

jQuery UI Widgets Forums Grid Grid inside AP Div container

This topic contains 1 reply, has 2 voices, and was last updated by  Mariya 9 years, 11 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • Grid inside AP Div container #72445

    pedro_prt
    Participant

    Hi

    Is there a way of limiting the size of a grid to its div container ?
    In my projects I allways work with divs with absolute position, height and width.
    When I try to render a grid inside the div, the grid’s size doesn’t respect the div’s size.
    I tried with grid’s width and height to 100%.
    If I set the grid’s width and height in px, that’s ok, it works fine, but I have to use the sizes in div and grid.

    Tks
    Pedro Oliveira

    Grid inside AP Div container #72459

    Mariya
    Participant

    Hi Pedro Oliveira,

    You can place a jqxGrid into a div container and use the grid’s ‘width’ and ‘height’ properties set to %. In my opinion it doesn’t work because the width content and width are the same. We have similar demo showing jqxGrid in jqxTab and the jqxGrid respects the jqxTabs’s size: http://www.jqwidgets.com/jquery-widgets-demo/demos/jqxgrid/tabs-and-grid.htm?arctic

    Best Wishes,
    Mariya

    jQWidgets Team
    http://www.jqwidgets.com

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.