jQWidgets Forums

jQuery UI Widgets Forums Grid height property

This topic contains 2 replies, has 2 voices, and was last updated by  lineker 11 years ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • height property #54857

    lineker
    Participant

    Hi,

    I am setting height property of grid but it does not work

    $(“#reportgrid”).jqxGrid( {
    height: 100,
    source: dataAdapterGrid,
    ……………….

    width property works.
    what may the reason be?
    There are lots of data at my grid, I want a static height and use scrollbar but scrollbar does not appear and my grid height becomes too big.

    height property #54858

    Peter Stoev
    Keymaster

    Hi lineker,

    In all the samples about jqxGrid, the height property is set and it works with the current version of jQWidgets. From the API: http://jsfiddle.net/jqwidgets/35kU5/. I suggest you to check whether you have set or not the autoheight property. If you did, set it to false and the Grid will use the setting of the “height” property. If that does not help on your side, check in your code whether you do not set it somewhere else again. The property is tested carefully with all web browsers and there is no problem with it on our side.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    height property #55149

    lineker
    Participant

    Hi Peter,

    You are right, I set autoheight property thinking that that it is for cell height.

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

You must be logged in to reply to this topic.