JavaScript API Reference/Ab.grid.ReportGrid object

beforeBuild()

A function that is called before the initial build of the ReportGrid. This function is an entry point for any custom processing that should be done by a custom application after the workflow rule returns to the client but before the report is constructed.

Parameters: none

Example:

Remove the sorting links on the column headers when the sorting functionality is not desired, or when a ReportGrid is built from client-constructed data and sorting is not possible.