josepk

Forum Replies Created

Viewing 4 replies - 31 through 34 (of 34 total)
  • Author
    Replies
  • in reply to: Intercepting ESC key on inline mode edit #82586
    josepk
    Participant

    Hi Toni,

    I have found the solution,

    I have modified the grid.inlinedit.js and

    in reply to: How to handle error from the server ? #82486
    josepk
    Participant

    Hi Tony,

    thanks for the response, but it not works for me becouse I am not using form editing, I am using inline editing, seeing the documentation I have found the metod:
    saveRow( rowid, callback, url, extraparams)

    It would work for me in case of there is a button on the row for save the modification, but I have the automatic mode too, when I click on the row I modify the fields directly and save these with ENTER key, and there isnt anyway for specify a callback function in that mode.

    is there some way for specify a callback function in automatic nline editing mode?

    thanks a lot.

    Josep Escofet

    in reply to: How to handle error from the server ? #82479
    josepk
    Participant

    I have tryed it and dont work for me.

    When I edit a row and change it, the Enter key save it to the server, but
    if the server goes wrong it responds with an html page of error and not with xml file.

    I used:
    loadError: function (xhr,st,err){
    alert(“error”);
    alert(xhr.responseText()+” “+st+” “+err);
    }

    But It is never called. How do I becouse this function will be called?
    Is it possible that the server when responding an html page it is not viewed as error request?

    in reply to: How to handle error from the server ? #82478
    josepk
    Participant

    Thanks for the answer, but is there some place where it is documented?

    I am going to try.

    Josep Escofet

Viewing 4 replies - 31 through 34 (of 34 total)

Stay connected with us in your favorite flavor!