API REFERENCE

getDataAsPdf

Returns PDF generation results without downloading. Prepare a suitable font for characters such as Korean text.

What does this API do?

Returns PDF generation results without downloading. Prepare a suitable font for characters such as Korean text.

API for Pro features: Built-in PDF export

Exact input and result types

typescript
getDataAsPdf(options?: SyGridPdfExportOptions): Promise<PdfExportResult>
ArgumentsRequiredType
optionsOptionalSyGridPdfExportOptions

The return type is Promise<PdfExportResult>.

Usage flow

After registering and initializing the Grid element, call grid.getDataAsPdf(…). 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