fuhrysteve

Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Author
    Replies
  • in reply to: Toggle Treeview / Pager #90127
    fuhrysteve
    Participant

    I ended up essentially making two pages: /mypage.php and /mypage.php?notree

    then doing:

    $(”#mytree”).jqGrid({

    treeGrid: ,

    });

    Before I populate the graph, I send a request to the server to determine if the results will need a tree or not. Then, if the response indicates that the page needs a tree table but does is currently mypage.php?notree, I do:

    window.location = 'mypage.php?tree_data_to_load=foobar';

    or if the opposite is the case, I do:

    window.location = 'mypage.php?notree?data_to_load=foobar';

    Seems to work pretty well.

    in reply to: Expand All and Collapse All Functionality in Tree Grid #89393
    fuhrysteve
    Participant

    Hey Tony,

    The latest version of course! 3.5.3

    in reply to: Expand All and Collapse All Functionality in Tree Grid #89363
    fuhrysteve
    Participant

    Firing the click event on tree-plus is expanding rows, but it is appending them all to the bottom of the table instead of beneath their parents.

    Has anyone found a workaround to achieve a reliable “Expand All” feature?

    Btw, here's what I use for Collapse All — works great:

    in reply to: Tree Grid and Json #89274
    fuhrysteve
    Participant

    I'm also having difficulty getting the rows to collapse in 3.5.3… Also, most of the rows are opening with blank data,

    [Update: turns out I had my levels wrong on that one..
    made the row wider, and there were mas my row :)
    ]

    but I am sending my JSON right.. Any clue why this might be?

    Oops.. wrong amount of fields.

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

Stay connected with us in your favorite flavor!