beforeInsert

The event occurs before inserting values into database and can cancel default insert statement or validate incoming values.

<cfset grid.event.attach("beforeInsert",handlerFunc)>

Parameters handlerFunc:

  • action - DataAction Object

Availability:

  • Available for Grid, TreeGrid, Tree, Scheduler, DataView, Form

Sample:

Back to top