API REFERENCE

stopRowEdit

Commits or cancels current row editing and returns a report.

What does this API do?

Commits or cancels current row editing and returns a report.

Exact input and result types

typescript
stopRowEdit(reason?: 'commit' | 'cancel'): Promise<SyGridRowEditReport>
ArgumentsRequiredType
reasonOptional'commit' | 'cancel'

The return type is Promise<SyGridRowEditReport>.

Usage flow

After registering and initializing the Grid element, call grid.stopRowEdit(…). Read the return value with await. For methods returning a boolean or report, inspect the result before continuing.

Read related types

Feature explanations and examples