JavaScript API Reference/Ab.grid.ReportGrid object

refresh(restriction)

Refreshes the panel data content from the server. If the restriction parameter is specified, the data content will be restricted.

Parameters

  • restriction (JS object): (optional) restriction to be applied to the control content.

Example

Display action items for the selected project in the report:

var restriction = {'project.project_id': project_id};
this.actionsGrid.refresh(restriction);