Move 'afterCreateRow' hook execution

Move the location of 'afterCreateRow' so that we can trigger events
after the data is added but before rendering.