Skip to main content

grid-pro.gridpro.customerrorhandlertemplate

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

GridPro.customErrorHandlerTemplate property​

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.