tomvdp

Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Author
    Replies
  • in reply to: Edit a predefined format number #115140
    tomvdp
    Participant

    Thank you Tony.
    I am sorry but I cannot find the “links in the code tabs” you refer to ?

    in reply to: Edit a predefined format number #115096
    tomvdp
    Participant

    It is inline edit, started from a formatter:action button.

    in reply to: Edit a predefined format number #115091
    tomvdp
    Participant

    Thank you Tony.
    When implemented like you describe, the input shows the data in the correct format.
    But there seems to be a problem with the serializeRowData function. After edit no data is sent to the server, it just calls the URL without posting anything. Without serializeRowData it does post the data but indeed still in the formatted style (i.e. 12,34 while it would be cleaner to receive 12.34 at the server side).
    Using console.log statements I could see that the function is called correctly, but somehow the grid afterwards does not like what is returned.
    Since the docs state that this function should return the serialized data,
    I tried returning JSON.stringify(row) but that made no difference.

    For now I can do the unformatting (12,34 to 12.34) at the server side before saving to the database.
    Of course it would be nice to get serializeRowData working correctly.

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

Stay connected with us in your favorite flavor!