I am curious why after the coding the form and running the grid seem to show it as the old version of the sample. Why doesn't it show the grid based on the changes made?
You receive the old version of the sample because you haven't performed the refresh or compiled the script. Try to save the changes, then compile it again and new changes will be shown on the interface.