Syncfusion AI Assistant

How can I help you?

ExcelQueryCellInfoEventArgs

16 Mar 20261 minute to read

Extends the Excel cell query event args to allow attaching an image to a regular cell
during Excel export. Handlers for the cell query event can set the image property
to a Image to embed an image inside that cell.
Example:
pivotObj.excelQueryCellInfo = (args) => {
args.image = { base64: ‘…’, width: 80, height: 30, firstRowOffset: 0, firstColumnOffset: 0 };
};

Properties

cell number|ExcelStyle|Object|ExcelCell

Defines the cell data

colSpan number

Defines the number of columns to be spanned

column Column

Defines the column of the current cell.

data Object

Defines the row data associated with this cell.

Defines the hyperlink

image Image

Optional image metadata describing the image to render inside the cell
when exporting to Excel.

style ExcelStyle

Defines the style of the current cell.

value Date|string|number|boolean

Defines the value of the current cell.