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
rowLayoutRefused: SyGridRowLayoutRefusedDetailUsage 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.
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
- Row height and pinned rows
Row height, top/bottom pinned rows, full-width rows, and merged cells are separate layout features. Choose based on whether you need persistent summaries or wide detail content.