nate

Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Author
    Replies
  • in reply to: expand only the root node of the tree #96400
    nate
    Participant

    terryg said:What is the correct way to code the root node of a JSON, AJAX-loaded tree to render with only the root node expanded? I tried various combinations of expandRow(), expandNode(), and click(), but I couldn't get any of them to work. Most of my attempts have been inside the gridComplete() handler.


    This method worked for me. I hope it helps: (not sure why the expandRow and expandNode only work within the setTimeout function)

    var mygrid = jQuery('#grid').jqGrid({

    gridComplete: function() {

    in reply to: delRowData bug on Grid with Multiselect #93809
    nate
    Participant

    Using $.makeArray to make a copy works,

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

Stay connected with us in your favorite flavor!