editor inline problem- how to chose which data will sent to server

editor inline problem- how to chose which data will sent to server

eyal_hbeyal_hb Posts: 98Questions: 31Answers: 0
edited July 2020 in Editor

hey i want to add in inline edit one more field to the field that been edit,
this field has not been change, but it must sent to server for my calculation.
i dont want to sent the entire row data, only the field that been edit and one more that is very important

in the picture, the only two fields i want to sent in gray box

Answers

  • colincolin Posts: 15,240Questions: 1Answers: 2,599

    You can only send the entire row, or the changed value. Your row only looks like it's 7 columns wide, so that wouldn't be much overhead,

    Colin

  • eyal_hbeyal_hb Posts: 98Questions: 31Answers: 0

    i cant sent all row, it not about how much columns, i must sent only two parmater, no way i can sent one more parmater to inline edit ?

  • colincolin Posts: 15,240Questions: 1Answers: 2,599

    You could use ajax.data to add a value, with a function to conditionally add it. You would need to use a global variable to store the data in the preSubmit, which you then reference in the ajax.data. That should work.

    Colin

This discussion has been closed.