This event fires after the user has deleted a record.
If the user deletes multiple records at once, this event will be called multiple times - once for each record that was deleted. Contrast with the AfterUpdateRecords event.
The following variables are available to you in the event:
The grid component definition
You can put any data in this variable that you want to pass to other events. e.g. e.rtc.mydata = 'value1'
The row number.
Field values that were submitted.
Field values, before any user edits
A pointer to the AjaxResponses array.
dim aa as p aa = e.rtc.A_AjaxResponses i = aa.append() aa[i].text = "alert('Message');" aa[i].id = 100 'the order in which the Ajax responses are sent to the browser
You can also set state variables in this event. The value of any state variables will be available in all subsequent ajax callbacks (in the e.__si2 object).
To set a state variable:
e._state.myvar1 = "value1" e._state.myvar2 = "value2"