Setting Value of DropDown Box

Hi @semafox,

Radzen keeps cache of the data displayed in the grid so after editing a value the grid shows the new record without requesting the latest data from the server. In this case though the “external” change of the LevelID property isn’t picked up and displayed in the grid (I presume the right LevelID is persisted in the DB). I see two possible solutions:

  • In the main page (containing the grid) handle the Close event of the Open Dialog and request the Routines from the server side updating the property which the Data Grid is bound to.
  • Or instead of this.routine.LevelID = this.level.LevelID; try the approach from this thread. This uses the Angular Form API to update the form value. Something like this.form0.form.patchValue({ LevelID: this.level.LevelID }) should work