Skip to content

API reference / Common / Engine types / GridRichValueKind

Type Alias: GridRichValueKind ​

ts
type GridRichValueKind = 
  | {
  localImage: {
     image: ImageId;
     altText: string | null;
     calcOrigin: number | null;
  };
}
  | {
  webImage: {
     address: string;
     image: ImageId | null;
     altText: string | null;
     sizing: GridCellImageSizing;
     calcOrigin: number | null;
  };
}
  | {
  other: {
     structure: string;
     keys: [string, string][];
     values: string[];
  };
};

What a [GridRichValue] is — its structure's type, s/@t in xl/richData/rdrichvaluestructure.xml, with the keys it holds.