jQWidgets Forums

jQuery UI Widgets Forums Grid Grid columns resizing when they shouldn't

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

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

  • pedrolsamaral
    Participant

    Hi,

    we are trying to get a pageable grid working with virtual-mode and fixed height. To actually change the page content we’re listening to the ‘pagechanged’ event.

    With this setup we have an issue when the last page fill all rows where the columns size shrink.

    I’ve managed to reproduce our situation in the following fiddle:

    http://jsfiddle.net/dRbAE/462/

    Although the grid is not paginating the grid content correctly the focus of the fiddle is on the columns shrinking issue.
    To trigger the issue simply change the page.

    Is there anything that we can do to work-around this issue?


    Stanislav
    Participant

    Hello pedrolsamaral,

    I saw that this problem occurs only on the last page of the grid. The easiest way of fixing this is just to adjust the width in such a way, that on the last page it is at 100% width.

    I don’t know if you use this exact code, but I found that if the var page2 = generatedata(5); is set to 5 when you go back to the previous page it has only the first 5 rows show. You should keep that in mind.

    Best Regards,
    Stanislav

    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.