czita

Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Author
    Replies
  • in reply to: edit form with formoptions and rowpos #99005
    czita
    Participant

    Hi,

    thanks for fixing. I found this problem pieces of code too. After any hours… 😉

    in reply to: CRUD on local data is not working #99004
    czita
    Participant

    Hi Tony,

    thanks. It's working now. Superb. 🙂

    in reply to: Server validating data + error warning #94695
    czita
    Participant

    tony said:

    2) You can use a succesfunc – to this function we pass the response.

    Note that since we use a jQuery complete event in ajax you should parse your JSON response something like

    function mysuccces(res)

    {

    myjson = $.jgrid.parse(res.responseText);

    // now you have what you want

    }

    Regards

    Tony


    Hi Tony,

    thanks for kick me to right direction. 🙂

    Now I am using aftersavefunc for handle response. It's works almost right, but one problem is here. For example I do this like user:

    1) Edit grid row

    2) I change some data for example 'Client 1' to 'Client 2' and press ENTER

    3) Grid throw error message because note field is not valid. (server side validate)

    4) Grid row is in edit mode again.

    5) I will not repair data and leave editing grid (press ESC)

    6) In afterrestorefunc is $('#grid').trigger('reloadGrid'); I need get actual data from server, but this throw error in Firebug and request is not send.

    Do you know how solve this?

    May be there is other better solution. I don't know.

    You can see and try it at http://sandbox.jipas.cz/jqgrid/

    Thanks for help me

    Regards czita

    in reply to: Sorting by localised date #91138
    czita
    Participant

    Hello Tony,

    this is solution of my problem. Next time I must better read docs.

    Thanks.

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

Stay connected with us in your favorite flavor!