# dhtmlxconnector:order_of_events_execution [DHX documentation]

DHTMLX Docs & Samples Explorer

Index
dhtmlxconnector

### Data loading

- - incoming request parsed
- beforeSorting
- beforeFiltering
- - sql select executed
- - for each selected record
  - beforeRender
  - - generate xml for record
- - output data to client

### Data update

- - incoming request parsed
- - global transaction started ( if enabled )
- beforeProcessing event
- for each record
  - - record level transaction if started ( if enabled )
  - beforeInsert|beforeDelete|beforeUpdate event
  - - record level transaction commited ( if enabled )
- afterProcessing event
- - global transaction commited ( if enabled )