📁
DashboardJS
  • Getting Started
  • Configuration Options
    • Data
    • Config
      • Fetch API
      • Tabs
      • Record Settings
      • Fields
      • Actions
      • Internationalization & Localization
    • templateURL
    • appendTo
  • Dashboard Tools
    • Sorting
    • Filtering
    • View Modes
    • Pagination
  • Classes & APIs
    • Dashboard Overview
    • Dashboard.js
    • Tabs.js
    • Tab.js
    • Recordset.js
Powered by GitBook
On this page
  1. Dashboard Tools

View Modes

The viewMode property decides the default view mode for each Tab. The view can be changed by the user from the view mode button in the dashboard.

Config Property

var dashboard = new FutureLabs.Dashboard({
  config: {
    tabs: {
      "User Profiles": {
        // Sets the default view mode for this tab: Cards view or List view
        viewMode: "Cards", // 'Cards' or 'List'
      }
    }
  }
viewMode property<String>
  • Cards

  • List

PreviousFilteringNextPagination

Last updated 1 year ago