Yandex Cloud
Documentation
PresentationContact UsTry it for free
© 2026 Direct Cursus Technology L.L.C.
Yandex DataLens
    • Overview
    • Widgets
    • Link
    • Selectors
    • Chart cross-filtering
    • Dashboard settings
    • Versioning
    • Parameters
    • Neuroanalyst on your dashboard
    • Trend and smoothing lines in dashboard charts
    • Markdown
      • Building a dashboard
        • Adding a chart to a dashboard
        • Adding a selector to a dashboard
        • Adding text to a dashboard
        • Adding a header to a dashboard
        • Adding a JS selector to a dashboard
        • Adding an insight widget to a dashboard
        • Copying widgets on a dashboard
      • Adding dashboard info
      • Setting up chart cross-filtering
      • Managing access to a dashboard
  • DataLens Gallery
  • Audit Trails events
  1. Dashboards
  2. Step-by-step guides
  3. Dashboard widgets
  4. Adding a JS selector to a dashboard

Adding a JS selector to a dashboard

Written by
Yandex Cloud
Updated at September 24, 2026
View in Markdown

Before adding a selector, make sure you have the Write or Admin permission for the dashboard. For more information, see Object access permissions.

To add a selector to a dashboard:

  1. In the left-hand panel, click Dashboards and select the dashboard you need.

  2. At the top of the page, click Edit.

  3. In the panel at the bottom of the page, choose Selector (JS).

    image

  4. Specify the selector parameters:

    • Header: To choose the selector for linking with other widgets.

    • Source: Sets the selector created in Editor. Choose the selector:

      From the list of objects
      Using a link

      Click Select and choose a selector from the list of objects. If you have already chosen the selector, you can proceed to edit it by clicking Open next to the selector.

      Click Specify link. Enter the selector URL into the input field and click OK below.

    • Show in tabs: Select how to display the selector on the dashboard:

      • Current tab <tab_name>: Display on the selected tab. This is the default option.
      • Selected tabs: Select one or multiple tabs to display the selector on. By default, the current tab is selected.
      • All tabs: Display on all tabs.
    • Background: Widget background color and opacity separately for the light and dark theme.

    • Rounding: Widget corner rounding.

    • Auto height: Automatic height for a widget on the dashboard.

    • Parameters: List of selector parameters and their default values. For the widget to work correctly, specify the selector parameters listed on the Params tab.

      selector-js

  5. Click Save. The widget will appear on the dashboard.

Was the article helpful?

Previous
Adding a header to a dashboard
Next
Adding an insight widget to a dashboard
© 2026 Direct Cursus Technology L.L.C.