mixGrid
A transposed container — one shared row domain, with a different question type per column. Use it when each attribute about the same set of items needs its own input shape.
What mixGrid is
mixGrid is a transposed container: the parent question owns
the shared rows (options:), and columns: is a list of nested
first-class questions — each one keeps its own qid, type, and
runtime API. The respondent sees one row per shared option, with one
cell per column rendered in that column’s native input shape.
The homogeneous grids (gridSingle, gridMulti, gridNumber) give
every cell the same input shape. mixGrid lets each column be a
different type — pick a single, tick multi, type into an
openList, enter numbers into a numberList, rate against a
gridSingle scale — all against the same row list.
What it looks like
A live preview. Each row is one shared option from the parent’s
options: (here: Apple / Samsung / Sony). Each column is a
separate nested question rendering its native input shape per row.
Click around — and toggle Mobile to see the per-row card layout.
For each brand you know, tell us about your experience.
Only brands you indicated awareness of are shown.
| Tried it single | Used in last 12mo multi | Times last month numberList | Satisfaction gridSingle | One-line comment openList | |
|---|---|---|---|---|---|
| Apple | 1 2 3 4 5 | ||||
| Samsung | 1 2 3 4 5 | ||||
| Sony | 1 2 3 4 5 |
Each header is one nested column question. The single column carries one radio per row sharing one exclusive group — pick the single brand the respondent has tried. The multi column carries one independent checkbox per row. The other columns write their native input shape into each row.
On mobile, each row becomes its own card. The respondent steps through rows one at a time; each card stacks the column questions vertically.
A few notes on what you’re seeing:
singlecolumn — one radio per row, sharing one exclusive group across the column. Picking Samsung’s radio deselects Apple’s. Use this when only one row can be the answer (“which one did you actually try?”).multicolumn — one checkbox per row, independent. Tick any subset.numberList/openListcolumns — one numeric / text input per row, scoped to that row’s code.gridSinglecolumn — a sub-row of radios across that column’s ownscale:, drawn inline within the row.
Properties (parent)
The parent question is a thin shell. It carries the row domain and the structural list of columns — not the per-cell concerns.
| Property | Values | Notes |
|---|---|---|
qid | string | Required. Unique within the survey. |
type | mixGrid | Required. |
title, text, instruction | renderable | Visible content. Use {{ }} to pipe runtime values. HTML allowed. |
visibility | show | hide | Default show. |
options | list name or inline domain | Required. The shared rows of the grid. Children inherit this. An isolate: True row here becomes the whole-grid opt-out toggle rendered below the table — see Isolate opt-out (whole-grid) below. |
options.from | expression | Alternate to options: — pulls rows dynamically from another question or list. |
order | keyword or expression | Row order; inherited by all columns. Keywords: fixed (default), random, randomEach, alphabetical, reverse, flip. Also accepts an expression (e.g. Q1.all, hOrder.rows). See Order. |
columns | list of nested questions | Required. At least one child question. Each one becomes a column in the rendered grid. |
desktop_style, mobile_style | string | Layout overrides for the container shell. |
custom | code block | Custom runtime block. No default. |
required, default.errors, validation, readonly, scale, min, max, style, label.prefix, label.suffix, input.size, decimal, and the other input properties. They live on the column questions where they actually mean something.Supported column types
columns: accepts six question types. Each renders its native input
shape into every row’s cell.
| Column type | Cell shape | What the respondent does |
|---|---|---|
single | radio | Pick one row across the column (exclusive within the column). |
multi | checkbox | Tick any subset of rows (independent per row). |
rank | rank input | Type a position (1, 2, 3…) into each row to order them. |
openList | text input | Type a free-text answer scoped to that row. |
numberList | number input | Type a number scoped to that row. |
gridSingle | sub-row of radios | Pick one scale code for that row, against the column’s own scale:. |
openList / numberList, not open / number. Plain open and number are scalar — they have no row identity, so they wouldn’t know which row’s cell they belong to. The …List variants store one value per row, which is exactly what mixGrid cells need.Per-column rules
Children inherit the parent’s row domain — and they’re not allowed to redeclare it.
| Property | On a child column | Why |
|---|---|---|
options, options.from | Forbidden | Rows come from the parent. |
group, group.order | Forbidden | mixGrid doesn’t support row grouping at all — neither on the parent nor on children. If you need grouped rows, use a separate gridSingle / gridMulti. |
order | Forbidden | Row ordering comes from the parent. |
scale | Allowed (and required for gridSingle) | The column’s own scale dimension. |
min, max, decimal, decimal.places | Allowed (for numberList columns) | Per-column numeric bounds. |
label.prefix, label.suffix, input.size | Allowed | Cell decoration / sizing. |
required, readonly, validation | Allowed | Per-column behaviour. |
style | Allowed | Per-column visual variant (e.g. dropdown on numberList). |
Each column carries its own qid and text (used as the column
header). The contract notes lift the rest:
- Children stay first-class — every column qid is reachable by name from anywhere in the survey.
- Shared rows come only from the parent. There is no per-column override.
Methods & accessors
The parent mixGrid itself has no question-level accessors or
methods. It is structural — a container. All reads happen on the
column qids using that type’s own runtime API.
| You want… | Read from |
|---|---|
Selected row in a single column | QSingleCol.selected |
Selected rows in a multi column | QMultiCol.selected |
Ordered ranks in a rank column | QRankCol.selected (ordered list) |
Text for row N in an openList column | QOpenListCol.row(N).value |
Number for row N in a numberList column | QNumberListCol.row(N).value |
Scale code for row N in a gridSingle column | QGridSingleCol.row(N).value |
The deep-dive for each child type covers the full accessor surface. See the cross-references at the bottom of this page.
Isolate opt-out (whole-grid)
Attach an isolate: True entry to the parent’s options: (rows) to give the respondent a single “None of these apply / Prefer not to answer” toggle for the entire table. mixGrid’s opt-out is deliberately different from every other grid type: it is one whole-grid toggle, never per-column.
Selecting it:
- Clears + disables every column at once — the
singlepicks, themultiticks, thenumberListrows, theopenListrows, thegridSinglesub-scale picks — all cleared and greyed out in one operation - Waives every column’s validation gate (
requiredon any child column no longer fires) - Records once in the export as a single flag column on the parent —
<parent>r<code>= 1 — emitted last, after every child column’s block. Child columns don’t inherit the opt-out row, so there are no spurious<child>r99/<child>r99o*columns
- qid: QChannelUse
type: mixGrid
text: For each channel, tell us how you use it.
options:
1: Email
2: SMS
3: In-app
99:
label: I don't use any of these
isolate: True
exclusive: True
columns:
- qid: Frequency
type: single
text: How often?
required: True
options:
1: Daily
2: Weekly
3: Rarely
- qid: Score
type: number
text: Score (1-10)
required: True
min: 1
max: 10
- qid: Notes
type: openList
text: Anything to add?
If the respondent ticks “I don’t use any of these”, both Frequency and Score and Notes are cleared and disabled — and the required: True gates on the two child columns are waived so the respondent can proceed. The export gets QChannelUser99 = 1, with all Frequencyr*, Scorer*, Notesr* columns null on that respondent’s row.
Read it in scripts from the parent qid, using the row accessor with the opt-out code:
if QChannelUse.row(99).answered:
hOptedOut.set(1)
numberList row-level opt-out has a very different data shape from a single’s), mixGrid deliberately doesn’t allow per-column opt-outs. If you need a column-specific “N/A”, capture it inside that column’s own answer domain (e.g. a code that means “not applicable” in the column’s options:).Examples
Brand round-up — best, tried, comment, spend, rating
- qid: QBrands
type: mixGrid
text: Tell us about each brand.
options:
1: Apple
2: Samsung
3: Sony
columns:
- qid: QBest
type: single
text: Best overall
- qid: QTried
type: multi
text: Tried in last 12 months
- qid: QComment
type: openList
text: One-line take
- qid: QSpend
type: numberList
text: Monthly spend
label.prefix: $
min: 0
- qid: QTrust
type: gridSingle
text: Trust 1–5
scale:
1: 1
2: 2
3: 3
4: 4
5: 5
Five different input shapes, all keyed to the same brand list. Each
column is a real question — QBest.selected, QTried.selected,
QComment.row(1).value, QSpend.row(1).value, QTrust.row(1).selected
all read independently in scripts.
Channel feedback — comment + rating per channel
- qid: QChannelFeedback
type: mixGrid
text: For each channel you've used, share a quick rating and any feedback.
options:
1: Email
2: SMS
3: In-app push
4: Web
columns:
- qid: QChannelRate
type: gridSingle
text: Rating
scale:
1: Poor
2: Fair
3: Good
4: Great
5: Excellent
- qid: QChannelComment
type: openList
text: Comment
input.maxChar: 280
A typical “rating + open comment” pattern collapsed into one question. The list of channels lives once at the parent; each channel row carries both a 1–5 rating and an optional comment.
Allocation with context flags
- qid: QBudget
type: mixGrid
text: Allocate next quarter's budget by category.
options:
1: Marketing
2: Engineering
3: Operations
4: Other
columns:
- qid: QAlloc
type: numberList
text: Allocation
label.suffix: '%'
min: 0
max: 100
- qid: QFlags
type: multi
text: Notes
# The 'multi' inherits the four categories as its rows.
# Tick the rows that need a follow-up review.
QAlloc.row(1).value reads Marketing’s percent. QFlags.selected
reads the list of category codes the respondent flagged for review.
Both are sitting in the same row in the rendered UI, so the
respondent only scans the category list once.
Export
The parent mixGrid qid is structural only — it doesn’t export
its own column, with one exception: an isolate opt-out declared on the parent’s rows emits a single parent-scoped flag column. Otherwise, each child column question exports under its own qid using that type’s native naming convention:
| Child type | Export pattern |
|---|---|
single | one column: qidCol |
multi | one column per row code: qidCol_1, qidCol_2, … |
rank | one column per row code with the rank position |
openList | one column per row code: qidCol_1, qidCol_2, … |
numberList | one column per row code |
gridSingle | one column per row code with the chosen scale code |
| Isolate opt-out (parent-level) | one column on the parent: <parent>r<code> = 1 when the opt-out is active, emitted last after every child column’s block |
When the opt-out is active, all child columns for the respondent go null and the parent’s flag column reads 1. See the individual question-type pages for exact patterns and the Column naming reference.
See also
- single — column type for “pick one row across the column”.
- multi — column type for “tick any subset of rows”.
- rank — column type for “order the rows”.
- openList — column type for “text per row”.
- numberList — column type for “number per row”.
- gridSingle — column type for “scale rating per row”.
- gridNumber — homogeneous numeric grid (when every cell is the same shape).
- Column naming — export patterns per child type.