Thingsup Docs
  • Documentation
  • MQTT
    • MQTT Broker
    • Add MQTT Device
    • Authorize MQTT Device
    • Test MQTT Connection
    • Tutorial - MQTT Basics
  • Connections
    • MySQL Connection
    • Redis Connection
    • InfluxDB Connection
    • AWS Connection
    • PostgreSQL Connection
    • MQTT Connection
    • InfluxDBv2 Connection
    • Firebase Connection
    • MSG91 Connection
  • Actions
    • MySQL Query Action
    • Redis Query Action
    • InfluxDB Read Query Action
    • InfluxDB Write Point Action
    • Send Email Action
    • DynamoDB PutItem Action
    • DynamoDB UpdateItem Action
    • DynamoDB GetItem Action
    • DynamoDB Query Action
    • DynamoDB Scan Action
    • DynamoDB DeleteItem Action
    • PostgreSQL Query Action
    • InfluxDBv2 Read Query Action
    • InfluxDBv2 Write Point Action
    • Firebase Cloud Firestore Action
    • Firebase RealTime Database Action
    • Firebase Messaging Action
    • AWS Lambda Invoke Action
    • AWS SQS Send Messsage Action
    • Publish MQTT Message Action
    • MQTT CommandResponse Action
    • ProcessFunction Action
    • WebHook Action
    • Push to Thingsup Track Action
    • Send MSG91 SMS Action
  • Rules
    • MQTT Rules Engine
    • HTTP API
  • Command
    • HTTP Command
    • Action Command
  • Alerts
    • Basic Alert
  • Dashboards
    • Add Dashboard
    • Dashboard Settings
  • Widgets
    • Button Widget
    • Data Text Widget
    • Toggle Switch Widget
    • Image Switch Widget
    • Dropdown Widget
    • LED Widget
    • Text Widget
    • Navigation Button Widget
    • Form Widget
    • Date Picker Widget
    • Date Time Range Widget
    • Slider Widget
    • Table Widget
    • Google Map Widget
    • Data Tile Widget
    • HTML Tile Widget
    • Line Chart Widget
    • Bar Chart Widget
    • Pie Chart Widget
    • Scatter Chart Widget
    • Radar Chart Widget
    • Radial Gauge
    • Linear Gauge
Powered by GitBook
On this page

Was this helpful?

  1. Widgets

Date Picker Widget

PreviousForm WidgetNextDate Time Range Widget

Last updated 3 years ago

Was this helpful?

General Setting

User can change following things in Date Picker widget:

  • Name for widget which will be used data reference. For Example, if widget name is 'Date Picker', then data of widget is referenced as Data Picker.date

  • Show title - User can show/hide widget title

  • Title Color

  • Background Color

Source

Date Picker widget does not support Source settings.

Event Handling

Date Picker widget does not support Event handling.

Examples:

TestCase 1:

If user want to fetch data using Action which requires startTime as parameter and show it to Table Widget. So following are the steps to perform this operation and are as follows.

  1. Add Table Widget to dashboard and change its color, background color, file name as per requirement.

  2. Now go to Source tab of Table Widget and select mode as Action, and select a required ActionID from dropdown.

  3. Now, in Action Parameter, select parameter as Date Picker.date and set Key as startTime, and enable Reload On Change operation.

  4. It will send JSON object with 'startTime:<selected_date>' as key-value pair to given ActionID as shown in below block. And received response of action will get shown in table.

// JSON Object 
// here, Date Format - dd/MM/yyyy is fixed

{
    "startTime":<selected_date>  
}
Configure Date Picker Widget
Configure Date Picker Widget
Configure Date Picker Widget