Compatibility matrix
One-glance reference for which accessors, methods, and styles each question type supports. Cmd-F any name to see which types accept it.
Scope
This matrix covers the standard 12 question types: info,
single, multi, rank, open, openList, number,
numberList, gridSingle, gridMulti, gridNumber, mixGrid.
The advanced types — lookup,
imageAnnotation,
videoAnnotation,
textAnnotation,
cardSort — and the conjoint family
(CBC, MaxDiff) live on their own deep-dive pages because they
carry distinctive surfaces that don’t share well with the
standard grid.
How to read
| Cell | Meaning |
|---|---|
| ✓ | Supported on this type |
| ✗ | Not supported; the runtime returns nothing useful or the validator rejects the call |
The first column stays pinned as you scroll the table horizontally.
Question-level accessors
Reads on the question proxy. Most are properties — call them
without parens (Q.value, Q.selected, Q.answered). One in this
table is a method that takes an argument: Q.at(N). Both
shapes are reads, not writes; programmatic writes live in
Methods (writes) below.
| Accessor | info | single | multi | rank | open | openList | number | numberList | gridSingle | gridMulti | gridNumber | mixGrid |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
.answered | ✗ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✗ |
.notAnswered | ✗ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✗ |
.value | ✗ | ✓ | ✗ | ✗ | ✓ | ✗ | ✓ | ✗ | ✗ | ✗ | ✗ | ✗ |
.values | ✗ | ✗ | ✗ | ✓ | ✗ | ✓ | ✗ | ✓ | ✓ | ✗ | ✗ | ✗ |
.selected | ✗ | ✓ | ✓ | ✓ | ✗ | ✗ | ✗ | ✗ | ✓ | ✗ | ✗ | ✗ |
.selectedLabel | ✗ | ✓ | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ | ✓ | ✗ | ✗ | ✗ |
.selectedLabels | ✗ | ✗ | ✓ | ✓ | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ |
.all | ✗ | ✓ | ✓ | ✓ | ✗ | ✓ | ✗ | ✓ | ✓ | ✓ | ✗ | ✗ |
.allLabels | ✗ | ✓ | ✓ | ✓ | ✗ | ✓ | ✗ | ✓ | ✓ | ✓ | ✗ | ✗ |
.at(N) | ✗ | ✗ | ✗ | ✓ | ✗ | ✓ | ✗ | ✓ | ✓ | ✓ | ✓ | ✗ |
.answered—Trueif any answer recorded.mixGridreads through child qids..notAnswered— Inverse of.answered..value— The respondent’s answer when there’s just one: the selected code onsingle, the typed text onopen, the entered number onnumber..values— A list of the respondent’s answers: typed strings onopenList, numbers onnumberList, codes in rank order onrank, the selected scale code per row ongridSingle..selected— The codes the respondent picked: one onsingle, several onmultiandgridSingle, all of them in rank order onrank..selectedLabel— Display label of the selected code..selectedLabels— Display labels for selected codes..all— Effective domain after masking..allLabels— Labels for.all..at(N)(method, takes a position arg) — Position-based read. Onrankreturns the code at 1-based position N; on list / grid types returns the row proxy at N.
.value on grid types or mixGrid. Reads happen per row (and per cell on grids) — see Row & cell access and the type’s deep-dive page. mixGrid reads happen on the nested column qids, not the parent..size lives on collections, not on the question proxy. For “how many did the respondent pick?” use Q.selected.size; for “how many options are visible?” use Q.all.size. The size accessor is part of the Collections surface. (lookup with multi: True is the one type that exposes .size at the question level.)Row / column proxy accessors
Q.row(N) and Q.col(M) are themselves methods — they take a
row or column code as an argument and return a proxy. The leaf
accessors on that proxy (.value, .selected, .label, etc.)
are then properties called without parens. Cell access chains
two methods: Q.row(N).col(M) returns a cell proxy, then leaf
properties read from there.
| Accessor | openList | numberList | gridSingle | gridMulti | gridNumber |
|---|---|---|---|---|---|
.row(N).value | ✓ | ✓ | ✓ | ✗ | ✗ |
.row(N).values | ✗ | ✗ | ✗ | ✗ | ✓ |
.row(N).selected | ✗ | ✗ | ✓ | ✓ | ✗ |
.row(N).selectedLabel | ✗ | ✗ | ✓ | ✗ | ✗ |
.row(N).selectedLabels | ✗ | ✗ | ✗ | ✓ | ✗ |
.row(N).all | ✗ | ✗ | ✓ | ✓ | ✗ |
.row(N).allLabels | ✗ | ✗ | ✓ | ✓ | ✗ |
.row(N).label | ✓ | ✓ | ✓ | ✓ | ✓ |
.row(N).answered | ✓ | ✓ | ✓ | ✓ | ✓ |
.row(N).col(M).value | ✗ | ✗ | ✗ | ✗ | ✓ |
.row(N).col(M).selected | ✗ | ✗ | ✓ | ✓ | ✗ |
.col(M) | ✗ | ✗ | ✗ | ✗ | ✓ |
.row(N).value— Scalar value:stronopenList,numberonnumberList,Code(the selected scale code) ongridSingle..row(N).values— All numbers in agridNumberrow..row(N).selected— Selected scale code(s) for that row..row(N).selectedLabel— Label of the selected scale code..row(N).selectedLabels— Labels of the selected scale codes..row(N).all— The scale domain (codes)..row(N).allLabels— The scale domain (labels)..row(N).label— The row’s authored label..row(N).answered—Trueif the row has any value..row(N).col(M).value— Cell value ongridNumber..row(N).col(M).selected— Cell selection state on grids..col(M)(method, takes a column code arg) —gridNumber-only column proxy mirroring.row(N). Same accessor surface, just on the column dimension.
Methods (writes)
| Method | single | multi | rank | open | openList | number | numberList | gridSingle | gridMulti | gridNumber |
|---|---|---|---|---|---|---|---|---|---|---|
Q.set(...) | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✗ |
Q.add(code) | ✗ | ✓ | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ |
Q.remove(code) | ✗ | ✓ | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ |
Q.reset() | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
Q.row(N).set(value) | ✗ | ✗ | ✗ | ✗ | ✓ | ✗ | ✓ | ✓ | ✓ | ✗ |
Q.row(N).reset() | ✗ | ✗ | ✗ | ✗ | ✓ | ✗ | ✓ | ✓ | ✓ | ✗ |
Q.row(N).col(M).set(value) | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ | ✓ |
Q.row(N).col(M).reset() | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ | ✓ |
Q.set(...)— Set the answer programmatically. The argument shape varies by type:single— a code:QBrand.set(2)multi— a list of codes:QBrand.set([1, 3])rank— a list of codes in rank order:QPriority.set([3, 1, 2])open— a string:QComment.set("text")number— a number:QAge.set(42)openList— a row map ({rowCode: string}):QQuotes.set({1: "first", 2: "second"})numberList— a row map ({rowCode: number}):QSpend.set({1: 100, 2: 250})gridSingle— a row map ({rowCode: scaleCode}):QSat.set({1: 4, 2: 5})gridMulti— a row map ({rowCode: [scaleCodes]}) — values are lists:QFeats.set({1: [3, 5], 2: [2]})gridNumber— not supported; useQ.row(N).col(M).set(...).
Q.add(code)— Append a code to amultianswer.Q.remove(code)— Remove a code from amultianswer.Q.reset()— Clear the answer (or whole grid).Q.row(N).set(value)— Set a row’s value. The shape mirrors the question-level shape, scoped to one row:stronopenList,numberonnumberList,Code(one scale code) ongridSingle, list of scale codes ongridMulti. Use.row(N).col(M).set(...)ongridNumber.Q.row(N).reset()— Clear a row. Not ongridNumber.Q.row(N).col(M).set(value)— Set a single cell —gridNumberonly.Q.row(N).col(M).reset()— Clear a single cell —gridNumberonly.
info and mixGrid don’t expose write methods — info is
content-only; mixGrid writes go through the nested column qids.
Return types
The same accessor name returns different types on different
question types — .value is a Code on single, a str on
open, a number on number. This matrix shows the exact
return type for every supported (accessor, type) pair.
Type vocabulary
Code— a single option code (numeric).CodeSet— collection of codes. Ordered:multiby authored domain,rankby user-specified order.CodeList— ordered list of codes (rank’s.values, gridSingle’s.values).Label— a single display label (string).LabelList— list of display labels.StringList— list of strings.NumberList— list of numbers.Row— row proxy; you’d typically dot-access into it (.value,.selected, etc.).str/number/int/bool— Python primitives.
Question-level accessor return types
| Accessor | info | single | multi | rank | open | openList | number | numberList | gridSingle | gridMulti | gridNumber | mixGrid |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
.answered | — | bool | bool | bool | bool | bool | bool | bool | bool | bool | bool | — |
.notAnswered | — | bool | bool | bool | bool | bool | bool | bool | bool | bool | bool | — |
.value | — | Code | — | — | str | — | number | — | — | — | — | — |
.values | — | — | — | CodeList | — | StringList | — | NumberList | CodeList | — | — | — |
.selected | — | CodeSet | CodeSet | CodeSet | — | — | — | — | CodeSet | — | — | — |
.selectedLabel | — | Label | — | — | — | — | — | — | Label | — | — | — |
.selectedLabels | — | — | LabelList | LabelList | — | — | — | — | — | — | — | — |
.all | — | CodeSet | CodeSet | CodeSet | — | CodeSet | — | CodeSet | CodeSet | CodeSet | — | — |
.allLabels | — | LabelList | LabelList | LabelList | — | LabelList | — | LabelList | LabelList | LabelList | — | — |
.at(N) | — | — | — | Code | — | Row | — | Row | Row | Row | Row | — |
Row / column proxy accessor return types
| Accessor | openList | numberList | gridSingle | gridMulti | gridNumber |
|---|---|---|---|---|---|
.row(N).value | str | number | Code | — | — |
.row(N).values | — | — | — | — | NumberList |
.row(N).selected | — | — | CodeSet | CodeSet | — |
.row(N).selectedLabel | — | — | Label | — | — |
.row(N).selectedLabels | — | — | — | LabelList | — |
.row(N).all | — | — | CodeSet | CodeSet | — |
.row(N).allLabels | — | — | LabelList | LabelList | — |
.row(N).label | Label | Label | Label | Label | Label |
.row(N).answered | bool | bool | bool | bool | bool |
.row(N).col(M).value | — | — | — | — | number |
.row(N).col(M).selected | — | — | bool | bool | — |
.col(M) on gridNumber returns a column proxy with the same
accessor surface as .row(N).
Skins per question type
| Type | Available styles |
|---|---|
info | (no styles — content-only) |
single | radio (default) · dropdown · buttons · cards · imageCards |
multi | checkbox (default) · buttons · cards · imageCards · dropdown |
rank | arrows · tapToRank · dropdownRank · podium · drag |
open | text (default) · textarea |
openList | (no styles — row layout only) |
number | input (default) · slider · sliderTicks · stepper · dial · dropdown |
numberList | input (default) · slider · sliderTicks · stepper · dropdown |
gridSingle | radioGrid (default) · paired · scaleButtons · cardStack · emojiScale · sliderGrid · bipolarSlider · scaleBar |
gridMulti | checkboxGrid (default) · cardStack · chipGrid |
gridNumber | grid (default) · number · dropdown |
mixGrid | (no styles — uses desktop_style / mobile_style for layout) |
See also
- Each type’s deep-dive (linked from the sidebar)
- Q.* accessors — runtime read surface
- Row & cell access —
.row(N)/.col(M)semantics - Collections —
.any/.intersect/.size/ etc. on.selected,.values,.all