how to submit data of editable gird

I have an interface including editable grid and two search fields. The interface is nested in a complex and old form.

My target is to refresh the grid data automatically when the search fields value is changed, and save/submit the data to model.

So I am using with().

But the problem is the variable the with() is also need to be changed and saved by a!save() in the editable grid, which will break out an error.

How can solve this issue?

Since the form is old and nest many other interface, is that possible that use a!localVariable to replace load/with in this new editable grid section?

  Discussion posts and replies are publicly visible

Parents Reply Children
  • Thanks for your reply, Mike.

    now, when I edit data in a row, there are two behaviors, one was data be erased. another was coming out an error alter(variable saved shouldn't be in with()).

    the basic expectation is user want to sort  these two search fields just clicking the grid header(which is also not able to do in editable grid), so I am trying to change the way to allow user to filter these fields.