---
title: AnnotationRow
summary: Interface in @bimworks/viewercommon.
order: 10
languages: [javascript]
sdk-package: JavaScript · @bimworks/viewercommon
---

# AnnotationRow

[[page:reference/javascript/api|API catalogue]] · `@bimworks/viewercommon` · Interface

````typescript sdk=js sdk-namespace="@bimworks/viewercommon"
interface AnnotationRow<D>
````



### Type parameters

| Name | Constraint | Description |
|---|---|---|
| `D` | `` |  |

## Members

| Member | Kind | Description |
|---|---|---|
| [[page:reference/javascript/bimworks-viewercommon/annotationrow-a4833c59#member-data-cddbc1e2cdf2|data]] | Property |  |
| [[page:reference/javascript/bimworks-viewercommon/annotationrow-a4833c59#member-globalid-90f15d54b4f6|globalId]] | Property | The object's IFC GlobalId: the key of a layer with key "globalId" |
| [[page:reference/javascript/bimworks-viewercommon/annotationrow-a4833c59#member-key-7c141932b13d|key]] | Property | The qid string by default, the GlobalId with key "globalId"; filled in for query rows |
| [[page:reference/javascript/bimworks-viewercommon/annotationrow-a4833c59#member-position-8e4ed006f992|position]] | Property | An explicit anchor, as Annotation.position. A row without a qid or qids needs one |
| [[page:reference/javascript/bimworks-viewercommon/annotationrow-a4833c59#member-qid-2b6b0224a477|qid]] | Property | The object the row is about: anchors it, links hover, hides it with its object |
| [[page:reference/javascript/bimworks-viewercommon/annotationrow-a4833c59#member-qids-f1ea090716f5|qids]] | Property | Several objects (a storey, a system): the row sits on the union of their bounds and shows while one of them does. A query record without a qid becomes such a… |
| [[page:reference/javascript/bimworks-viewercommon/annotationrow-a4833c59#member-type-5157be69b710|type]] | Property | IFC class, for icons; filled in for query rows |

## `data` {#member-data-cddbc1e2cdf2}

````typescript sdk=js sdk-namespace="@bimworks/viewercommon"
data: D
````



## `globalId` {#member-globalid-90f15d54b4f6}

````typescript sdk=js sdk-namespace="@bimworks/viewercommon"
globalId?: string
````

The object's IFC GlobalId: the key of a layer with key "globalId"

## `key` {#member-key-7c141932b13d}

````typescript sdk=js sdk-namespace="@bimworks/viewercommon"
key?: string
````

The qid string by default, the GlobalId with key "globalId"; filled in for query rows

## `position` {#member-position-8e4ed006f992}

````typescript sdk=js sdk-namespace="@bimworks/viewercommon"
position?: (number)[]
````

An explicit anchor, as Annotation.position. A row without a qid or qids needs one

## `qid` {#member-qid-2b6b0224a477}

````typescript sdk=js sdk-namespace="@bimworks/viewercommon"
qid?: Qid
````

The object the row is about: anchors it, links hover, hides it with its object

## `qids` {#member-qids-f1ea090716f5}

````typescript sdk=js sdk-namespace="@bimworks/viewercommon"
qids?: (string | Qid)[]
````

Several objects (a storey, a system): the row sits on the union of their bounds and shows while one of them does.
A query record without a qid becomes such a row with a qids column (COLLECT(qid) AS qids), keyed by its key column
or its text values

## `type` {#member-type-5157be69b710}

````typescript sdk=js sdk-namespace="@bimworks/viewercommon"
type?: string
````

IFC class, for icons; filled in for query rows
