Skip to main content

grid-pro.gridprobeta.customerrorhandlertemplate

Home > @genesislcap/grid-pro > GridProBeta > customErrorHandlerTemplate

GridProBeta.customErrorHandlerTemplate property​

This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Custom error handler dialog template function.

Signature:

customErrorHandlerTemplate?: (prefix: string, gridErrorItems: GridProErrorItem<any>[]) => ViewTemplate;

Remarks​

When provided, this function will be used to render custom error dialogs instead of the default error handler. The function should accept a prefix string and an array of grid error items and return a ViewTemplate. If not provided, the default error handler dialog template will be used.