Getting Started

Setup

Tutorials

Compatibility & Security


AI Features
Layout & Styling

Theming

Design System Grid Layout


Charting

Sparklines

Integrated Charts

Standalone Charts


Core Features

Columns

Rows

Cells

Filtering

Selection

Editing

Updating Data

Interactivity


Advanced Features

Row Grouping

Aggregation

Pivoting

Tree Data

Master Detail

Accessories

Server-Side Data

Import & Export

State & Lifecycle

Performance

When a datasource load fails, call retryServerSideLoads() to reload the failed rows at a later time.

When loading fails, the datasource informs the grid of such using the fail() callback instead of using the success() callback. Calling fail() puts the loading rows into a Loading Failed state which hides the loading spinner. No data is shown in these rows as they are not loaded.

Failed loads can be retried by using the grid API retryServerSideLoads(). This will retry all loads that have previously failed.

retryServerSideLoads Copy Link
Function
Gets all failed server side loads to retry.
ServerSideRowModelApiModule

Examples Copy Link

The following example demonstrates load retrying. Note the following:

  • When the checkbox 'Make Loads Fail' is checked, all subsequent loads will fail, i.e. the Datasource will call fail() instead of success(). Try checking the checkbox and expand a few groups to observe failed loading.

  • When the button 'Retry Failed Loads' is pressed, any loads which were marked as failed are retried.

  • When the button 'Reset Entire Grid' is pressed, the grid will reset. This allows you to have 'Make Loads Fail' checked while starting from scratch, thus failing loading of the top level of rows.

Angular Example - Server Side Model Retry - Retry Infinite

Hide filesViewing: app.component.ts

  • styles.css
  • fakeServer.ts
  • main.ts
  • app.component.ts
  • interfaces.ts

Console

Clear

Console logs from the example shown here...