pgtip

Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Author
    Replies
  • in reply to: Inline Editing editRow aftersavefunc not firing #90015
    pgtip
    Participant

    Hi Tony,

    Thanks for the help. Just to complete the thread.

    Using successfunc (in my case called 'refresh') with what you said

    reads something like

    function refresh(response)

    {

    var xml = response.responseXML.documentElement;

    alert(xml.getElementsByTagName(“errorcnt”)[0].firstChild.data):

    }

    gives me the number inside 12.

    Thanks,

    in reply to: access jqGrid data and functions in child window #86728
    pgtip
    Participant

    Hi Tony,

    Implementing your recommendation I now get the following:

    $(window.opener.document.getElementById(“list”)).getDataIDs is not a function

    [same js libraries included for when it is one window are included in the child window i.e. libraries should be in place]

    At this point I will leave it in the main window and not create the child window (I am at a loss)

    Thanks,

    in reply to: access jqGrid data and functions in child window #86670
    pgtip
    Participant

    Sorry for the late reply – thanks for the feedback (I got pulled off onto something else).

    I am still getting the following error message:

    [Exception… “'Syntax error, unrecognized expression: #[object HTMLTableElement]' when calling method: [nsIDOMEventListener::handleEvent]” nsresult: “0x8057001e (NS_ERROR_XPC_JS_THREW_STRING)” location: “” data: no]

    In the child window I do the following:

    var storeArray = [];

    storeArray = jQuery('#' + window.opener.document.getElementById('list')).getDataIDs();

    and get the above error.

    The error message seems to suggest the jqGrid list does not exist but it has already loaded on the main page…..

    Thanks

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

Stay connected with us in your favorite flavor!