SurveyJS v3.3.0
Released: December 2, 2026
SurveyJS v3.3.0 introduces sorting, filtering, and searching in Multi-Select Matrix, Dynamic Matrix, and Dynamic Panel questions. Together with pagination, these features support two new views for browsing read-only records: Data Grid View presents records as table rows, and Record List View presents them as expandable cards. This release also includes bug fixes and minor enhancements.
Sorting, Filtering, and Searching
Sorting, filtering, and searching help users find and review records in the following question types:
- Multi-Select Matrix
- Dynamic Matrix
- Dynamic Panel
Sorting
Sorting lets users choose the order in which they review records. In a matrix, users can click a column header or use the Sort by bar. In Dynamic Panel, the bar sorts entries by field value. Sorting changes the display order while preserving the order of the stored data.
To enable sorting in the UI, set allowSort to true. Users can sort by multiple fields when maxSortLevel is greater than 1. For example, they can sort orders by status first, then by total within each status. The initial sort order comes from sortCriteria.
The following code shows how to enable sorting in the UI, let users sort by up to two fields, and set an initial sort order by status (Z to A) and total (highest first within each status):
{
"elements": [
{
"type": "matrixdynamic",
"name": "orders",
"title": "Orders",
"allowSort": true,
"maxSortLevel": 2,
"sortCriteria": [
{ "field": "status", "direction": "desc" },
{ "field": "total", "direction": "desc" }
],
"columns": [
{
"name": "status",
"title": "Status",
"choices": [
"New", "Processing",
"Shipped", "Delivered", "Cancelled"
]
},
{
"name": "total",
"title": "Total",
"cellType": "text",
"inputType": "number"
}
]
}
]
}
The Sort by bar allows users to choose which fields to sort by and set a direction for each field. Dynamic Panel displays the bar whenever sorting is enabled. In a matrix, the bar appears only when column headers are unavailable for sorting, such as on mobile devices. To show the bar even when users can sort from column headers, set the matrix's showSortBar property to "always":
{
"elements": [
{
"type": "matrixdynamic",
"name": "orders",
"title": "Orders",
"allowSort": true,
"showSortBar": "always"
// ...
}
]
}
Demo: Sorting in Dynamic Panel
Filtering and Searching
SurveyJS v3.3.0 introduces a new Filter control that enables users to narrow down matrix rows or panel entries with text search, quick filters, or conditions in the All Filters dialog. Users can also apply a saved set of conditions in one step by selecting a filter preset.
To add the Filter control to your survey, add an element with type: "filter" to the survey JSON schema and set the element's targetQuestion property to the name of the matrix or Dynamic Panel:
{
"elements": [
{
"type": "filter",
"name": "productFilter",
"targetQuestion": "products"
},
{
"type": "matrixdynamic",
"name": "products",
"title": "Products",
"columns": [
{ "name": "product", "title": "Product", "cellType": "text" },
{ "name": "category", "title": "Category", "choices": ["Accessories", "Displays"] },
{ "name": "price", "title": "Price ($)", "cellType": "text", "inputType": "number" }
]
}
]
}
By default, the Filter control creates filter fields based on visible matrix columns or panel questions. To hide a field from quick filters, limit its operators, or remove it completely, configure the fields array:
{
"elements": [
{
"type": "filter",
"name": "productFilter",
"targetQuestion": "products",
"fields": [
{ "name": "product", "showInQuickFilters": false },
{ "name": "category" },
{ "name": "price", "operators": ["equal", "less", "greater"] }
]
},
{
// ...
}
]
}
The search bar also searches all filter fields by default. To search only specific fields, define the searchFields array. Note that the fields you include in this array should also be present in the fields array if you define it.
{
"elements": [
{
"type": "filter",
"name": "productFilter",
"targetQuestion": "products",
"fields": [
{ "name": "product", "showInQuickFilters": false },
{ "name": "category" },
{ "name": "price", "operators": ["equal", "less", "greater"] }
],
"searchFields": ["product"]
},
{
// ...
}
]
}
Users can apply a saved set of filter conditions in one step. Each saved set is called a filter preset. To give users presets to choose from, add them to the presets array. Users can also save their own presets if you enable the allowAddPresets property:
{
"elements": [
{
"type": "filter",
"name": "productFilter",
"targetQuestion": "products",
// ...
"presets": [
{
"name": "under50",
"title": "Under $50",
"expression": "{price} < 50"
}
],
"allowAddPresets": true
},
{
// ...
}
]
}
Demo: Filter and Search Matrix Rows
Demo: Filtering and Searching in Dynamic Panel
Data Grid and Record List Views
SurveyJS v3.3.0 introduces Data Grid View and Record List View, two layouts for browsing read-only records. Both combine search, filtering, sorting, and pagination so that users can find matching records and review them a page at a time.
Data Grid View
Data Grid View displays records as rows in a read-only Dynamic Matrix. The table layout lets users scan records and compare values across rows.
Record List View
Record List View displays records in a list of expandable cards using a read-only Dynamic Panel. Users can scan the summaries and expand any card for more details.
Bug Fixes and Minor Enhancements
Form Library
- Yes/No (Boolean) matrix cells are left-aligned instead of centered in any
displayModeother than the default (#12425) - Expressions incorrectly resolve to fallback values when the original value is
0or"false"(#12430) - shadcn/ui theme adapter: Survey titles incorrectly fall back to body text size when Tailwind font size variables are unavailable (#12446)
- Dynamic Panel in carousel mode: "Next" button doesn't navigate to the panel with a validation error in question-per-page mode (#12459)
readOnlyMode: "view": Long values without spaces overflow the question boundaries instead of wrapping (#12465)- Dynamic Matrix:
horizontalScrollintroduces a redundant horizontal scroll container around an already scrollable table (#12464) - Specialized matrix column cell types don't handle inherited properties correctly (#12479)
Survey Creator
- Property Grid: "Display mode" setting is missing for Yes/No (Boolean) matrix columns (#8215)
How to Update SurveyJS Libraries in Your Application
To update your application to SurveyJS v3.3.0, install the packages you use or replace your existing script and stylesheet links with the versioned links below:
Angular
npm i survey-core@3.3.0 survey-angular-ui@3.3.0
npm i survey-creator-core@3.3.0 survey-creator-angular@3.3.0
npm i survey-analytics@3.3.0
npm i survey-pdf@3.3.0
React
npm i survey-core@3.3.0 survey-react-ui@3.3.0
npm i survey-creator-core@3.3.0 survey-creator-react@3.3.0
npm i survey-analytics@3.3.0
npm i survey-pdf@3.3.0
Vue.js
npm i survey-core@3.3.0 survey-vue3-ui@3.3.0
npm i survey-creator-core@3.3.0 survey-creator-vue@3.3.0
npm i survey-analytics@3.3.0
npm i survey-pdf@3.3.0
HTML/CSS/JavaScript
<link href="https://unpkg.com/survey-core@3.3.0/survey-core.min.css" type="text/css" rel="stylesheet">
<script type="text/javascript" src="https://unpkg.com/survey-core@3.3.0/survey.core.min.js"></script>
<script type="text/javascript" src="https://unpkg.com/survey-js-ui@3.3.0/survey-js-ui.min.js"></script>
<script src="https://unpkg.com/survey-core@3.3.0/themes/index.min.js"></script>
<link href="https://unpkg.com/survey-creator-core@3.3.0/survey-creator-core.min.css" type="text/css" rel="stylesheet">
<script src="https://unpkg.com/survey-creator-core@3.3.0/survey-creator-core.min.js"></script>
<script src="https://unpkg.com/survey-creator-js@3.3.0/survey-creator-js.min.js"></script>
<link href="https://unpkg.com/survey-analytics@3.3.0/survey.analytics.min.css" rel="stylesheet">
<script src="https://unpkg.com/survey-analytics@3.3.0/survey.analytics.min.js"></script>
<link href="https://unpkg.com/survey-analytics@3.3.0/survey.analytics.tabulator.min.css" rel="stylesheet">
<script src="https://unpkg.com/survey-analytics@3.3.0/survey.analytics.tabulator.min.js"></script>
<script src="https://unpkg.com/survey-pdf@3.3.0/survey.pdf.min.js"></script>
<script src="https://unpkg.com/survey-pdf@3.3.0/pdf-form-filler.min.js"></script>
If you are upgrading from v2.x, review the breaking changes introduced in SurveyJS v3.0 and subsequent updates.