Janooo

Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Author
    Replies
  • in reply to: formedit; postit; reloadgrid question #88094
    Janooo
    Participant

    Tony,

    When the edit window stays opened then the formedit hidden fields are not being updated by postIt() after submit.

    One solution (but not perfect due to the delay) is:

    if (!rp_ge.closeAfterEdit) setTimeout(function() { fillData(postdata.id, $t, frmgr); }, 1000);

    // at the end of postIt()/ajax/complete function

    I have another solution similar to one I posted for the inlinedit.

    Let me know if you are interested in that one.

    Regards,

    Jano

    in reply to: formedit; postit; reloadgrid question #88038
    Janooo
    Participant

    False alarm, I had some forgotten functionality in 'onSelectRow' event that caused the issue. Everything is fine now.

    By the way. Your loader script includes json2.js but I was not able to find the file in the 3.5 download.

    Regards,
    Jano

    Quick question: How I can check if my grid is behind a modal edit window?

    in reply to: EditURL as a Function? #87756
    Janooo
    Participant

    Brandon,

    When you change editurl to clientArray then the doc says: no ajax request is made and the content of the changed cell can be obtained via the method getChangedCells.

    I guess you need an event to trigger your script. I am not sure how to set 'aftersavefunc' function for the clientArray submit.

    Jano

    in reply to: saveRow; editurl parameters #87755
    Janooo
    Participant

    Nevermind…

    I am PHP beginner and I forgot that $_POST['whatever'] does the trick.

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

Stay connected with us in your favorite flavor!