toolm

Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Author
    Replies
  • in reply to: True-Scrolling Bug with jqGrid 3.6.5 #95068
    toolm
    Participant

    Yes. Everything works for me with Klaus's solution.

    I tried some changes, and the case (which last page won't be retrieved) happened when I changed the line below.

    // also in populateVisible function:

    if (p.lastpage && page > p.lastpage) {

    to

    in reply to: Scroll Bugs #95050
    toolm
    Participant

    Hi zenixgrace,

    I have the same issue, and it will be related to the following forum.

    /blog/?page_id=393/bugs/true-scrolling-bug-with-jqgrid-3-6-5/

    Please check if it can help you.

    Thanks.

    in reply to: is it possible to have 100% width #95048
    toolm
    Participant
    in reply to: is it possible to have 100% width #95045
    toolm
    Participant

    Hello,
    Is there a method which resize grid width & height to fit its parent container?
    I use jqGrid with “jquery layout” and want my grid to fit ui-layout-container which dynamically resizes (both width & height).

    option:autowidth is not dynamic and also doesn’t work for height.
    So I am now using my own function like the following. (I trigger this function whenever container resizes)

    function resize_grid(grid) {
    var container = grid.parents(‘.ui-layout-content:first’);
    grid.jqGrid(‘setGridWidth’, container.width()-2); // -2 is border width?
    var h = grid.parents(‘.ui-jqgrid:first’).height() – grid.parents(‘.ui-jqgrid-bdiv:first’).height();
    grid.jqGrid(‘setGridHeight’, container.height() – h – 2);
    }

    Please advise me if there is better or easier solutions.
    Thank you

    in reply to: True-Scrolling Bug with jqGrid 3.6.5 #95044
    toolm
    Participant

    Hello.

    I had the same problem with the newest version (3.7.1), and Klaus's solution worked fine.

    Thanks.

Viewing 5 replies - 1 through 5 (of 5 total)

Stay connected with us in your favorite flavor!