# Date Picker Widget

**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

![Configure Date Picker Widget](https://365492316-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M7aTljSjWsfbXZ_OP_9%2Fuploads%2FCzEtWJkOH3O3aYXNUM2P%2FdatePickerGeneral.png?alt=media\&token=4f3be2dd-66b0-4171-9653-f32d0ad9025e)

#### 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](https://365492316-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M7aTljSjWsfbXZ_OP_9%2Fuploads%2FCQb69EKOBHmuL7MpNlzu%2FdatePickerSourceAction.png?alt=media\&token=aba9b1b1-7c17-40a4-80fd-b74763582f35)

![Configure Date Picker Widget](https://365492316-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M7aTljSjWsfbXZ_OP_9%2Fuploads%2F8NGnakStIjyzDaIvgBMX%2FdatePickerSourceAction2.png?alt=media\&token=89928e96-fe63-45d5-b3e0-9565a4c29dc8)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.thingsup.io/widgets/date-picker-widget.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
