Does getSelectionChar(), or others, return the value of the field from the browser or the value in the actual database row? I'm assuming it's returning data from the browser only.
Scenario: A user is "sitting" on a grid while another user decides to edit the same row of data. If the first user decides to edit the same row, the values in the browser fields no longer match the database.
Any validations, etc. should occur against the database values of that record and not necessarily against the values returned by getSelection, right?
This just hit me while rewriting backend code for an app written in Sencha Architect.
Scenario: A user is "sitting" on a grid while another user decides to edit the same row of data. If the first user decides to edit the same row, the values in the browser fields no longer match the database.
Any validations, etc. should occur against the database values of that record and not necessarily against the values returned by getSelection, right?
This just hit me while rewriting backend code for an app written in Sencha Architect.
Comment