Refreshing Data after C(R)UD Events

Learn how data is refreshed after CRUD events.

Aurea CRM.Web's CRUD service takes care of automatically refreshing data in lists, query results, details views and headers as well as in the calendar, daily & weekly planning, resource view, dispatching dashboard and in timelines. When the user creates, updates or deletes data on another tab or in a popup, these changes are reflected in the other open tabs once the user switches back to them.

Note: This behavior only applies to changes the user made in his current browser session. Changes to data on the server e.g. by another user are not immediately reflected on the client.
Note: Due to performance issues query results are only refreshed on QueryRun pages, i.e. not in the Query Designer.

All CRUD events are handled in the ResultSet model, which has a Boolean property autoRefresh that activates the monitoring of the CRUD events. When displaying lists and query results, this property is automatically set to true.

CRUD events are handled as follows:

  • create: The result set is re-loaded. The newly created record(s) are only visible if the sort order/filter is set in a way that the new record(s) appear on the current page.
  • update: Only the values in those rows that contain the updated record are updated. The result set is not reloaded entirely.
  • delete: The rows containing the deleted record are marked as deleted and displayed in a disabled state (grayed out). If the currently selected row is disabled, the row below this row becomes the new selected row. If there is no row below the selected row, no row is selected.