jQWidgets Forums

jQuery UI Widgets Forums Grid Blank space at bottom

This topic contains 5 replies, has 2 voices, and was last updated by  Peter Stoev 10 years, 11 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
  • Blank space at bottom #57155

    Freak
    Participant

    Hi,

    I have a grid with around 2300 records and each page has 100 records.
    Whenever I am updating last record of the last page, empty space is added at the bottom. Any solution on this ?

    Regards,
    Freak

    Blank space at bottom #57156

    Peter Stoev
    Keymaster

    Hi Freak,

    If you have a Grid with Fixed Height, the Grid will display empty space, when there are no records to fill it. In case you don’t like this behavior, you can set the “autoheight” property to true so the Grid will auto-calculate its height depending on the number of displayed rows. Example: http://www.jqwidgets.com/jquery-widgets-demo/demos/jqxgrid/defaultfunctionality.htm?arctic

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    Blank space at bottom #57158

    Freak
    Participant

    Hi Peter,

    If I set autoheight=true, it is showing scroll bar and I dont want to show scroll bar on right side of page. I am dynamically adjusting grid height and also with autoheight=true, paging is not working.

    Regards,
    Freak

    Blank space at bottom #57159

    Peter Stoev
    Keymaster

    Hi Freak,

    Ok, if something is not working, then provide a demo which proves your words. For that purpose you can use: http://jsfiddle.net/. The “autoheight” with paging and even without paging works in all the demos on our website and I am very surprised that it does not work on your side. If you want to dynamically set the Grid’s height, then you will have to dynamically update the “height” property’s value.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    Blank space at bottom #57160

    Freak
    Participant

    Hi Peter,

    I am setting grid height based on window height using $(“#jqxgrid”).jqxGrid({ height: $(window).height() – 200 }) and I dont want to show scroll bar on the page. Once grid binding is complete I am setting grid height. Now paging is working so I am not creating sample.

    Regards,
    Freak

    Blank space at bottom #57161

    Peter Stoev
    Keymaster

    Ok, Freak. Thank you for the information.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

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

You must be logged in to reply to this topic.