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.

Sorting in SurveyJS Dynamic Matrix

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: Sort Matrix Rows

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.

Filtering and searching in SurveyJS Dynamic Matrix

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.

SurveyJS Data Grid View

Demo: Data Grid View

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.

SurveyJS Record List View

Demo: Record List View

Bug Fixes and Minor Enhancements

Form Library

  • Yes/No (Boolean) matrix cells are left-aligned instead of centered in any displayMode other than the default (#12425)
  • Expressions incorrectly resolve to fallback values when the original value is 0 or "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: horizontalScroll introduces 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.

Your cookie settings

We use cookies to make your browsing experience more convenient and personal. Some cookies are essential, while others help us analyse traffic. Your personal data and cookies may be used for ad personalization. By clicking “Accept All”, you consent to the use of all cookies as described in our Terms of Use and Privacy Statement. You can manage your preferences in “Cookie settings.”

Your renewal subscription expires soon.

Since the license is perpetual, you will still have permanent access to the product versions released within the first 12 month of the original purchase date.

If you wish to continue receiving technical support from our Help Desk specialists and maintain access to the latest product updates, make sure to renew your subscription by clicking the "Renew" button below.

Your renewal subscription has expired.

Since the license is perpetual, you will still have permanent access to the product versions released within the first 12 month of the original purchase date.

If you wish to continue receiving technical support from our Help Desk specialists and maintain access to the latest product updates, make sure to renew your subscription by clicking the "Renew" button below.