Please enable JavaScript to view this site.

Navigation: Advanced topics > Events > Table events > List page

Events.Before record processed

Scroll Prev Next More

Description

The BeforeProcessRow<PageName> event is executed right after a database record was retrieved from the database and before the formatting is applied.

Syntax

BeforeProcessRow<PageName>(data,pageObject)

Arguments

data

an array of field values of the record being processed. To access a specific field value, use data["FieldName"].

Note: You can read the data array and also write to it changing the values before showing them on the page.

 

Note: Field names are case-sensitive. If the field name is PlayerId, you should use data["PlayerId"]. Note that data["playerid"] or data["PlayerID"] will not work.

 

pageObject

an object representing the current page. For more information, see RunnerPage class.

Return value

True - the record is shown on the page.

 

False - record is skipped.

Applies to pages

List, Print.

Recommended predefined actions and sample events:

Send a simple email

Insert a record into another table

Check to see if a specific record exists

Display a message on the Web page

Redirect to another page

See also:

Database API:Select()

Printer-friendly/PDF view settings

About Grid Row JavaScript API

About RunnerPage class

About Database API

After record processed