API REFERENCE

rowLayoutRefused

Emitted when a requested row layout cannot be applied. Adjust the combination according to the rejection reason.

What does this API do?

Emitted when a requested row layout cannot be applied. Adjust the combination according to the rejection reason.

Exact input and result types

typescript
rowLayoutRefused: SyGridRowLayoutRefusedDetail

Usage flow

Subscribe with grid.addEventListener('rowLayoutRefused', handler). The result is in event.detail, and event names are case-sensitive. Remove subscriptions when disposing of the view.

javascript
const controller = new AbortController();
grid.addEventListener('rowLayoutRefused', event => {
  console.log(event.detail);
}, { signal: controller.signal });
// On view disposal: controller.abort();

Read related types

Feature explanations and examples