JavaScript API Reference/Ab.grid.ReportGrid object

build()

Construct the ReportGrid DOM elements, appending them to the parent element within the page. Normally, this function is automatically called when the ReportGrid is constructed through the view’s <panel type="grid"> element. When the control must be custom built (for example with data that is constructed on the client and does not exist in the data source) this function can be called after all the column and row data has been assigned to the ReportGrid.

Parameters: none

Example:

Display action items for the selected project in the report:

var grid = new Ab.grid.ReportGrid ('rm_div', config);
grid.build();